< prev index next >
src/hotspot/share/gc/g1/g1CollectedHeap.cpp
Print this page
rev 52688 : imported patch pqs_threshold_types
@@ -1658,23 +1658,20 @@
&bs->satb_mark_queue_buffer_allocator(),
G1SATBProcessCompletedThreshold,
G1SATBBufferEnqueueingThresholdPercent,
Shared_SATB_Q_lock);
- // process_completed_threshold and max_completed_queue are updated
+
+ // process_completed_buffers_threshold and max_completed_buffers are updated
// later, based on the concurrent refinement object.
G1BarrierSet::dirty_card_queue_set().initialize(DirtyCardQ_CBL_mon,
&bs->dirty_card_queue_buffer_allocator(),
- -1, // temp. never trigger
- -1, // temp. no limit
Shared_DirtyCardQ_lock,
true); // init_free_ids
dirty_card_queue_set().initialize(DirtyCardQ_CBL_mon,
&bs->dirty_card_queue_buffer_allocator(),
- -1, // never trigger processing
- -1, // no limit on length
Shared_DirtyCardQ_lock);
// Create the hot card cache.
_hot_card_cache = new G1HotCardCache(this);
@@ -1781,12 +1778,12 @@
return ecode;
}
{
DirtyCardQueueSet& dcqs = G1BarrierSet::dirty_card_queue_set();
- dcqs.set_process_completed_threshold((int)concurrent_refine()->yellow_zone());
- dcqs.set_max_completed_queue((int)concurrent_refine()->red_zone());
+ dcqs.set_process_completed_buffers_threshold(concurrent_refine()->yellow_zone());
+ dcqs.set_max_completed_buffers(concurrent_refine()->red_zone());
}
// Here we allocate the dummy HeapRegion that is required by the
// G1AllocRegion class.
HeapRegion* dummy_region = _hrm.get_dummy_region();
< prev index next >