harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Pervov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-3892) [drlvm][thread] Deadlock during thread creation from custom sytem classloader
Date Tue, 22 May 2007 09:50:16 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-3892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12497786
] 

Pavel Pervov commented on HARMONY-3892:
---------------------------------------

This is the deadlock between ClassLoader0 and ClassLoader0 which occurs through thread starting
code.

_alarmThread.start() calls Thread.lock.wait() inside synchronized ClassLoader0 and waits until
target thread is started. Thread starting code calls to FindClass("java/lang/Thread") which
in turn calls to ClassLoader0.loadClass.

Looks like I know the way. :) Will try to fix fast.

> [drlvm][thread] Deadlock during thread creation from custom sytem classloader
> -----------------------------------------------------------------------------
>
>                 Key: HARMONY-3892
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3892
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Windows, Linux
>            Reporter: Sergey Salishev
>         Attachments: ClassLoader0.java
>
>
> The deadlock manifests when running the attached testcase with 
> java -Djava.system.class.loader=ClassLoader0 bla

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