Currently we have 2 places where we apply the parallel claiming protocol when iterating threads, that is Threads::parallel_java_threads_do() and Threads::possibly_parallel_oops_do(). In order to avoid code duplication, the latter should call the former, using a private ThreadClosure. We already had one bug (JDK-8185273) that was caused by an inconsistency between the two.
- relates to
-
JDK-8180932 Parallelize safepoint cleanup
- Resolved
-
JDK-8185273 Test8004741.java crashes with SIGSEGV in JDK10-hs nightly
- Closed