RFR: 8013214 BigApps fails due to 'fatal error: Illegal threadstate encountered: 6'
Daniel D. Daugherty
daniel.daugherty at oracle.com
Mon Apr 29 14:19:37 PDT 2013
On 4/29/13 12:05 PM, Zhengyu Gu wrote:
> The fix of 8011218 caused this failure. When a JavaThread is in _thread_in_vm state, it is not a right state that it can call SafepointSynchronize::block().
>
> The fix is base on Dan's comment, that grab and drop SR_lock to get the thread to honor the safepoint protocol.
>
>
>
> Bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8013214
> Webrev: http://cr.openjdk.java.net/~zgu/8013214/webrev/
src/share/vm/services/memBaseline.cpp
No comments.
Thumbs up.
Dan
>
> Test:
> Ran kitchensink stress test on Linux x86, compared before and after fix. The bug was reproducible without the fix and no longer reproducible after.
>
>
> Thanks,
>
> -Zhengyu
More information about the hotspot-runtime-dev
mailing list