harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Novodvorsky (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-2963) [drlvm][stress] MegaSpawn test from HARMONY-2803 hangs in the end on dead lock
Date Wed, 14 Feb 2007 11:04:05 GMT

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

Peter Novodvorsky commented on HARMONY-2963:
--------------------------------------------

this patch really fixes the issue. the reason it reverts HARMONY-1816 modification is that
the only functional part of HARMONY-1816 is

-    while (lib->nondaemon_thread_count) {
+    while ((!jvmti_thread->daemon && lib->nondaemon_thread_count > 1)
+            || (jvmti_thread->daemon && lib->nondaemon_thread_count > 0))
{
         status = hycond_wait(lib->nondaemon_thread_cond, lib->TM_LOCK);

which is not reverted by Salikh's patch.
I've tried to run 1816 test with Salikh's patch and it works ok.

> [drlvm][stress] MegaSpawn test from HARMONY-2803 hangs in the end on dead lock
> ------------------------------------------------------------------------------
>
>                 Key: HARMONY-2963
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2963
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: DRLVM
>            Reporter: Gregory Shimansky
>         Assigned To: weldon washburn
>         Attachments: moved-non-daemon-thread-count-modification-from-start-to-wrapper_proc.patch
>
>
> When running MegaSpawn test from HARMONY-2803 on windows and linux, if this test doesn't
kill VM, it hangs at the end in some dead lock of 2 or more threads. This bug doesn't seem
to be related to the stressing nature of the test, so it should be something different. It
is likely that this is the same IO dead lock which makes stress.Mix to hang when it is running
from "build test".

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