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-3256) [drlvm][thread manager] Waiting thread gets InterruptedException with long delay
Date Tue, 27 Feb 2007 14:17:05 GMT
[drlvm][thread manager] Waiting thread gets InterruptedException with long delay
--------------------------------------------------------------------------------

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


The kernel test ThreadTest.testInterrupt_Waiting() fails intermittently with the message "waiting
thread has not received the InterruptedException". 

This is easily reproduced on 2CPU x 4 core machine but happens much more rarely on 2 CPU machine.
I usually see the failure on Windows 2003 2CPU x 4 core.

The attached test shows up the issue.
Some threads which are in the TIMED_WAITING state don't get InterruptedException in reasonable
time (5 sec in the attached test). The test needs WAIT_CONDITION_TIME to be set nearly the
same as THREAD_WAIT_TIME to pass.

Threads which are in the WAITING state don't get exception at all (intermittently).


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