harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "weldon washburn (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-3401) [drlvm][thread] Sometimes isInterrupted() responses unexpectedly
Date Fri, 08 Jun 2007 14:56:26 GMT

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


Mime
View raw message