diff src/share/vm/runtime/interfaceSupport.cpp @ 20646:4e4ebe50c8e3

8062036: ConcurrentMarkThread::slt may be invoked before ConcurrentMarkThread::makeSurrogateLockerThread causing intermittent crashes Summary: Suppress gc_alot during VM init, improve error for SLT uninitialized. Reviewed-by: jmasa, brutisso, tschatzl
author kbarrett
date Tue, 11 Nov 2014 13:39:00 -0500
parents ce8f6bb717c9
children
line wrap: on
line diff
--- a/src/share/vm/runtime/interfaceSupport.cpp	Mon Nov 17 16:36:09 2014 +0000
+++ b/src/share/vm/runtime/interfaceSupport.cpp	Tue Nov 11 13:39:00 2014 -0500
@@ -85,7 +85,7 @@
   // Short-circuit any possible re-entrant gc-a-lot attempt
   if (thread->skip_gcalot()) return;
 
-  if (is_init_completed()) {
+  if (Threads::is_vm_complete()) {
 
     if (++_fullgc_alot_invocation < FullGCALotStart) {
       return;