harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregory Shimansky (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-3401) [drlvm][thread] Sometimes isInterrupted() responses unexpectedly
Date Wed, 16 May 2007 14:40:16 GMT

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


Mime
View raw message