harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Artem Aliev (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-1741) Classlib test org.apache.harmony.luni.tests.java.lang.ThreadTest.test_suspend() hangs
Date Tue, 10 Oct 2006 12:17:20 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1741?page=all ]

Artem Aliev updated HARMONY-1741:

    Attachment: unsync_suspend.patch

Methods suspend() and resume() were synchronized in j.l.Thread, 
so if thread suspends itself, it were suspended under lock, so no one could resumes it or
calls other methods. Attached patch removes the synchronization  from resume() and suspend().
The synchronization is already done in hythread calls.


> Classlib test org.apache.harmony.luni.tests.java.lang.ThreadTest.test_suspend() hangs
> -------------------------------------------------------------------------------------
>                 Key: HARMONY-1741
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1741
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Elena Semukhina
>         Attachments: TestSuspend.java, unsync_suspend.patch
> Hangs on windows/linux.
> I expected that itis fixed with H-1519 but it is not.
> I'll attach a standalone test to reproduce the issue.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message