< prev index next >

src/share/vm/utilities/vmError.cpp

Print this page

        

@@ -905,10 +905,11 @@
   }
 
   // STEP("printing heap information")
 
   if (Universe::is_fully_initialized()) {
+    MutexLocker hl(Heap_lock);
     Universe::heap()->print_on_error(st);
     st->cr();
     st->print_cr("Polling page: " INTPTR_FORMAT, p2i(os::get_polling_page()));
     st->cr();
   }
< prev index next >