hotspot/src/share/vm/memory/universe.cpp
changeset 23540 06f7d6e1f654
parent 22876 57aa8995d43b
child 24426 0a69c8cdfca9
child 24424 2658d7834c6e
--- a/hotspot/src/share/vm/memory/universe.cpp	Fri Mar 28 14:15:03 2014 +0100
+++ b/hotspot/src/share/vm/memory/universe.cpp	Thu Feb 13 10:05:03 2014 +0100
@@ -632,7 +632,6 @@
   guarantee(sizeof(oop) % sizeof(HeapWord) == 0,
             "oop size is not not a multiple of HeapWord size");
   TraceTime timer("Genesis", TraceStartupTime);
-  GC_locker::lock();  // do not allow gc during bootstrapping
   JavaClasses::compute_hard_coded_offsets();
 
   jint status = Universe::initialize_heap();
@@ -1164,8 +1163,6 @@
 
   MemoryService::add_metaspace_memory_pools();
 
-  GC_locker::unlock();  // allow gc after bootstrapping
-
   MemoryService::set_universe_heap(Universe::_collectedHeap);
   return true;
 }