< prev index next >
src/share/vm/runtime/thread.cpp
Print this page
rev 13047 : [mq]: 8180932.patch
@@ -3375,10 +3375,19 @@
}
// If CompilerThreads ever become non-JavaThreads, add them here
}
+void Threads::parallel_java_threads_do(ThreadClosure* tc) {
+ int cp = Threads::thread_claim_parity();
+ ALL_JAVA_THREADS(p) {
+ if (p->claim_oops_do(true, cp)) {
+ tc->do_thread(p);
+ }
+ }
+}
+
// The system initialization in the library has three phases.
//
// Phase 1: java.lang.System class initialization
// java.lang.System is a primordial class loaded and initialized
// by the VM early during startup. java.lang.System.<clinit>
< prev index next >