src/hotspot/share/gc/g1/g1ConcurrentMark.cpp
changeset 52582 6df094be7f58
parent 52498 c3066f7465fa
child 52716 877dd2b0f36c
equal deleted inserted replaced
52581:d402a406bbc3 52582:6df094be7f58
   404     vm_shutdown_during_initialization("Could not create ConcurrentMarkThread");
   404     vm_shutdown_during_initialization("Could not create ConcurrentMarkThread");
   405   }
   405   }
   406 
   406 
   407   assert(CGC_lock != NULL, "CGC_lock must be initialized");
   407   assert(CGC_lock != NULL, "CGC_lock must be initialized");
   408 
   408 
   409   SATBMarkQueueSet& satb_qs = G1BarrierSet::satb_mark_queue_set();
       
   410   satb_qs.set_buffer_size(G1SATBBufferSize);
       
   411 
       
   412   _root_regions.init(_g1h->survivor(), this);
   409   _root_regions.init(_g1h->survivor(), this);
   413 
   410 
   414   if (FLAG_IS_DEFAULT(ConcGCThreads) || ConcGCThreads == 0) {
   411   if (FLAG_IS_DEFAULT(ConcGCThreads) || ConcGCThreads == 0) {
   415     // Calculate the number of concurrent worker threads by scaling
   412     // Calculate the number of concurrent worker threads by scaling
   416     // the number of parallel GC threads.
   413     // the number of parallel GC threads.