harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Rebriy (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-5447) [drlvm] Hang in ThreadSuspendResume test from the reliability test suite
Date Fri, 07 Mar 2008 08:49:47 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-5447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12576086#action_12576086
] 

Pavel Rebriy commented on HARMONY-5447:
---------------------------------------

I've found the roots of hang. Hang happens due to race condition between suspended thread
and thread which making System.gc(). If suspend thread is stopped after it have got a GC monitor,
System.gc() couldn't grab monitor and test hangs. Another problem between shutdowning thread
and thread which wants to suspend it. I've created a patch wthich fixes these 2 errors.

> [drlvm] Hang in ThreadSuspendResume test from the reliability test suite
> ------------------------------------------------------------------------
>
>                 Key: HARMONY-5447
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5447
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Linux x86 r615453
>            Reporter: Andrey Yakushev
>         Attachments: H5447.patch, ThreadSuspendResume_test_fix.patch
>
>
> There is hang in cruise control test run:
> http://people.apache.org/~smishura/r615453/Linux_x86/reliability/api/kernel/thread/ThreadSuspendResume/20_ThreadSuspendResume.html
> I was trying to reproduce it and have obtained 1 hung from 208 test run 12-15 minutes
each. Total test  run time was ~24 hours. So don't expect easy catching of this bug :)  :(

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