You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Peter Novodvorsky (JIRA)" <ji...@apache.org> on 2007/03/01 16:20:51 UTC
[jira] Updated: (HARMONY-3256) [drlvm][thread manager] Waiting
thread gets InterruptedException with long delay
[ https://issues.apache.org/jira/browse/HARMONY-3256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Novodvorsky updated HARMONY-3256:
---------------------------------------
Attachment: H-3256.patch
This patch adds interrupter thead that waits until thread locks on condition waiting and then interrupts it. It should also fix HARMONY-3139 bug.
> [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
> Attachments: H-3256.patch, TestInterruptTimedWaiting.java
>
>
> 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.