src/hotspot/share/gc/shenandoah/shenandoahSATBMarkQueueSet.cpp
changeset 55498 e64383344f14
parent 54970 76d3d96a8bc2
child 58059 baa4dd528de0
equal deleted inserted replaced
55497:d3a33953b936 55498:e64383344f14
    31   _heap(NULL),
    31   _heap(NULL),
    32   _satb_mark_queue_buffer_allocator("SATB Buffer Allocator", ShenandoahSATBBufferSize)
    32   _satb_mark_queue_buffer_allocator("SATB Buffer Allocator", ShenandoahSATBBufferSize)
    33 {}
    33 {}
    34 
    34 
    35 void ShenandoahSATBMarkQueueSet::initialize(ShenandoahHeap* const heap,
    35 void ShenandoahSATBMarkQueueSet::initialize(ShenandoahHeap* const heap,
    36                                             Monitor* cbl_mon,
       
    37                                             int process_completed_threshold,
    36                                             int process_completed_threshold,
    38                                             uint buffer_enqueue_threshold_percentage) {
    37                                             uint buffer_enqueue_threshold_percentage) {
    39   SATBMarkQueueSet::initialize(cbl_mon,
    38   SATBMarkQueueSet::initialize(&_satb_mark_queue_buffer_allocator,
    40                                &_satb_mark_queue_buffer_allocator,
       
    41                                process_completed_threshold,
    39                                process_completed_threshold,
    42                                buffer_enqueue_threshold_percentage);
    40                                buffer_enqueue_threshold_percentage);
    43   _heap = heap;
    41   _heap = heap;
    44 }
    42 }
    45 
    43