mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
8185273: Test8004741.java crashes with SIGSEGV in JDK10-hs nightly
Threads::parallel_java_threads_do() needs to call VMThread::claim_oops_do() to avoid causing a parallel GC to miss the VMThread. Reviewed-by: shade, rkennke, kvn, gthornbr
This commit is contained in:
parent
149e9c6e54
commit
7a713e117a
4 changed files with 20 additions and 2 deletions
|
@ -1670,7 +1670,7 @@ bool ObjectSynchronizer::deflate_monitor(ObjectMonitor* mid, oop obj,
|
|||
// process the same monitor lists concurrently.
|
||||
//
|
||||
// See also ParallelSPCleanupTask and
|
||||
// SafepointSynchronizer::do_cleanup_tasks() in safepoint.cpp and
|
||||
// SafepointSynchronize::do_cleanup_tasks() in safepoint.cpp and
|
||||
// Threads::parallel_java_threads_do() in thread.cpp.
|
||||
int ObjectSynchronizer::deflate_monitor_list(ObjectMonitor** listHeadp,
|
||||
ObjectMonitor** freeHeadp,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue