comparison src/hotspot/share/gc/g1/g1ConcurrentMark.cpp @ 53550:6df094be7f58

8213352: Separate BufferNode allocation from PtrQueueSet Summary: Move free-list management and allocation to new class. Reviewed-by: tschatzl, sjohanss
author kbarrett
date Thu, 15 Nov 2018 19:59:10 -0500
parents c3066f7465fa
children 877dd2b0f36c
comparison
equal deleted inserted replaced
65:1fe05b434966 66:53d4c7e7a96e
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.