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:28:09 UTC

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

     [ 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.