You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexey Varlamov (JIRA)" <ji...@apache.org> on 2007/10/15 13:41:51 UTC

[jira] Commented: (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:comment-tabpanel#action_12534807 ] 

Alexey Varlamov commented on HARMONY-3256:
------------------------------------------

Weldon,
The test needed some massaging before adding it to regression testing framework - otherwise it may be simply skipped during actual test runs:
1) There are naming conventions described in working_vm\src\test\regression\README.txt which should be followed;
2) Only JUnit tests are picked up automatically, all other tests need Ant launcher along them - just look around in neighbor tests for getting examples.

I fixed this particular test at revision: 584744 so now it really runs & passes on my laptop, please be careful in advance.


> [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
>            Assignee: weldon washburn
>         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.