harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elena Semukhina (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-3401) [drlvm][threading] Sometimes isInterrupted() responses unexpectedly
Date Thu, 15 Mar 2007 08:26:09 GMT
[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.


Mime
View raw message