equal
deleted
inserted
replaced
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. |