You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Pavel Pervov (JIRA)" <ji...@apache.org> on 2007/05/22 11:50:16 UTC
[jira] Commented: (HARMONY-3892) [drlvm][thread] Deadlock during
thread creation from custom sytem classloader
[ 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.