You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Elena Semukhina (JIRA)" <ji...@apache.org> on 2007/03/15 09:26:09 UTC

[jira] Created: (HARMONY-3401) [drlvm][threading] Sometimes isInterrupted() responses unexpectedly

[drlvm][threading] Sometimes isInterrupted() responses unexpectedly
-------------------------------------------------------------------

                 Key: HARMONY-3401
                 URL: https://issues.apache.org/jira/browse/HARMONY-3401
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
            Reporter: Elena Semukhina


Kernel test ThreadTest.testInterrupt_Terminated() fails intermittently when invoking isInterrupted() for a terminated thread.

Possibly join(), interrupt() and isInterrupted() are poorly synchronized.

I attached the test which demonstrates the issue. Usually I have the output as follows on linux x86 2CPU machine:

108 FAILED: terminated thread has not been interrupted
138 FAILED: terminated thread has not been interrupted
206 FAILED: terminated thread has not been interrupted
475 FAILED: terminated thread has not been interrupted
549 FAILED: terminated thread has not been interrupted
553 FAILED: terminated thread has not been interrupted
576 FAILED: terminated thread has not been interrupted
693 FAILED: terminated thread has not been interrupted
730 FAILED: terminated thread has not been interrupted
741 FAILED: terminated thread has not been interrupted
765 FAILED: terminated thread has not been interrupted


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (HARMONY-3401) [drlvm][threading] Sometimes isInterrupted() responses unexpectedly

Posted by "weldon washburn (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

weldon washburn reassigned HARMONY-3401:
----------------------------------------

    Assignee: weldon washburn

> [drlvm][threading] Sometimes isInterrupted() responses unexpectedly
> -------------------------------------------------------------------
>
>                 Key: HARMONY-3401
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3401
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Elena Semukhina
>         Assigned To: weldon washburn
>         Attachments: TestInterruptTerminated.java
>
>
> Kernel test ThreadTest.testInterrupt_Terminated() fails intermittently when invoking isInterrupted() for a terminated thread.
> Possibly join(), interrupt() and isInterrupted() are poorly synchronized.
> I attached the test which demonstrates the issue. Usually I have the output as follows on linux x86 2CPU machine:
> 108 FAILED: terminated thread has not been interrupted
> 138 FAILED: terminated thread has not been interrupted
> 206 FAILED: terminated thread has not been interrupted
> 475 FAILED: terminated thread has not been interrupted
> 549 FAILED: terminated thread has not been interrupted
> 553 FAILED: terminated thread has not been interrupted
> 576 FAILED: terminated thread has not been interrupted
> 693 FAILED: terminated thread has not been interrupted
> 730 FAILED: terminated thread has not been interrupted
> 741 FAILED: terminated thread has not been interrupted
> 765 FAILED: terminated thread has not been interrupted

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (HARMONY-3401) [drlvm][thread] Sometimes isInterrupted() responses unexpectedly

Posted by "weldon washburn (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

weldon washburn closed HARMONY-3401.
------------------------------------

    Resolution: Fixed

the fix to H3641 also solved this bug

> [drlvm][thread] Sometimes isInterrupted() responses unexpectedly
> ----------------------------------------------------------------
>
>                 Key: HARMONY-3401
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3401
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Elena Semukhina
>            Assignee: weldon washburn
>         Attachments: TestInterruptTerminated.java
>
>
> Kernel test ThreadTest.testInterrupt_Terminated() fails intermittently when invoking isInterrupted() for a terminated thread.
> Possibly join(), interrupt() and isInterrupted() are poorly synchronized.
> I attached the test which demonstrates the issue. Usually I have the output as follows on linux x86 2CPU machine:
> 108 FAILED: terminated thread has not been interrupted
> 138 FAILED: terminated thread has not been interrupted
> 206 FAILED: terminated thread has not been interrupted
> 475 FAILED: terminated thread has not been interrupted
> 549 FAILED: terminated thread has not been interrupted
> 553 FAILED: terminated thread has not been interrupted
> 576 FAILED: terminated thread has not been interrupted
> 693 FAILED: terminated thread has not been interrupted
> 730 FAILED: terminated thread has not been interrupted
> 741 FAILED: terminated thread has not been interrupted
> 765 FAILED: terminated thread has not been interrupted

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-3401) [drlvm][thread] Sometimes isInterrupted() responses unexpectedly

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gregory Shimansky updated HARMONY-3401:
---------------------------------------

    Summary: [drlvm][thread] Sometimes isInterrupted() responses unexpectedly  (was: [drlvm][threading] Sometimes isInterrupted() responses unexpectedly)

> [drlvm][thread] Sometimes isInterrupted() responses unexpectedly
> ----------------------------------------------------------------
>
>                 Key: HARMONY-3401
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3401
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Elena Semukhina
>         Assigned To: weldon washburn
>         Attachments: TestInterruptTerminated.java
>
>
> Kernel test ThreadTest.testInterrupt_Terminated() fails intermittently when invoking isInterrupted() for a terminated thread.
> Possibly join(), interrupt() and isInterrupted() are poorly synchronized.
> I attached the test which demonstrates the issue. Usually I have the output as follows on linux x86 2CPU machine:
> 108 FAILED: terminated thread has not been interrupted
> 138 FAILED: terminated thread has not been interrupted
> 206 FAILED: terminated thread has not been interrupted
> 475 FAILED: terminated thread has not been interrupted
> 549 FAILED: terminated thread has not been interrupted
> 553 FAILED: terminated thread has not been interrupted
> 576 FAILED: terminated thread has not been interrupted
> 693 FAILED: terminated thread has not been interrupted
> 730 FAILED: terminated thread has not been interrupted
> 741 FAILED: terminated thread has not been interrupted
> 765 FAILED: terminated thread has not been interrupted

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-3401) [drlvm][threading] Sometimes isInterrupted() responses unexpectedly

Posted by "Elena Semukhina (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Elena Semukhina updated HARMONY-3401:
-------------------------------------

    Attachment: TestInterruptTerminated.java

The test attached.

> [drlvm][threading] Sometimes isInterrupted() responses unexpectedly
> -------------------------------------------------------------------
>
>                 Key: HARMONY-3401
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3401
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Elena Semukhina
>         Attachments: TestInterruptTerminated.java
>
>
> Kernel test ThreadTest.testInterrupt_Terminated() fails intermittently when invoking isInterrupted() for a terminated thread.
> Possibly join(), interrupt() and isInterrupted() are poorly synchronized.
> I attached the test which demonstrates the issue. Usually I have the output as follows on linux x86 2CPU machine:
> 108 FAILED: terminated thread has not been interrupted
> 138 FAILED: terminated thread has not been interrupted
> 206 FAILED: terminated thread has not been interrupted
> 475 FAILED: terminated thread has not been interrupted
> 549 FAILED: terminated thread has not been interrupted
> 553 FAILED: terminated thread has not been interrupted
> 576 FAILED: terminated thread has not been interrupted
> 693 FAILED: terminated thread has not been interrupted
> 730 FAILED: terminated thread has not been interrupted
> 741 FAILED: terminated thread has not been interrupted
> 765 FAILED: terminated thread has not been interrupted

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.