diff src/share/vm/runtime/unhandledOops.cpp @ 17876:9c3dc501b5eb

8028498: runtime/SharedArchiveFile/CdsDifferentObjectAlignment.java asserts in RT_Baseline Summary: Preventing GCs to occur before VM is completely initialized. This was previously partly done by one part of the GC locker which not was removed. Reviewed-by: coleenp, pliden
author sjohanss
date Thu, 13 Feb 2014 10:05:03 +0100
parents da91efe96a93
children 78bbf4d43a14
line wrap: on
line diff
--- a/src/share/vm/runtime/unhandledOops.cpp	Mon Apr 14 20:56:48 2014 -0400
+++ b/src/share/vm/runtime/unhandledOops.cpp	Thu Feb 13 10:05:03 2014 +0100
@@ -113,9 +113,7 @@
 
 void UnhandledOops::clear_unhandled_oops() {
   assert (CheckUnhandledOops, "should only be called with checking option");
-  if (_thread->is_gc_locked_out()) {
-    return;
-  }
+
   for (int k = 0; k < _oop_list->length(); k++) {
     UnhandledOopEntry entry = _oop_list->at(k);
     // If an entry is on the unhandled oop list but isn't on the stack