harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (HARMONY-1816) [DRLVM] drlvm counts non daemon threads incorrectly
Date Sat, 14 Oct 2006 15:38:36 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1816?page=all ]

Geir Magnusson Jr reassigned HARMONY-1816:

    Assignee: Geir Magnusson Jr

> [DRLVM] drlvm counts non daemon threads incorrectly
> ---------------------------------------------------
>                 Key: HARMONY-1816
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1816
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Nikolay Kuznetsov
>         Assigned To: Geir Magnusson Jr
>         Attachments: HARMONY-1816.patch, Test1.java
> There are several problems with non demon(those which vm should wait before destroing
itself) threads counting in drlvm:
> 1. Non daemon threads count being increased by the thread being run
> This leads to the problem that main thread may finish w/o waiting for the child non-daemon
> 2. Main thread waiting while number of non daemon threads will be equal to zero, while
the main thread itself also non daemon thread
> (waiting method checks at enter that thread count should be <= 1, but waits on condition
while count ==0)
> Basically this causes vm to hang at shutdown if child thread works longer than main method.

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