src/hotspot/share/gc/g1/g1SATBMarkQueueSet.cpp
changeset 51401 58113ce90caf
parent 51393 cc8d309cd05a
child 51441 2e91d927e00c
equal deleted inserted replaced
51400:937fd6b81aaf 51401:58113ce90caf
    35 G1SATBMarkQueueSet::G1SATBMarkQueueSet() : _g1h(NULL) {}
    35 G1SATBMarkQueueSet::G1SATBMarkQueueSet() : _g1h(NULL) {}
    36 
    36 
    37 void G1SATBMarkQueueSet::initialize(G1CollectedHeap* g1h,
    37 void G1SATBMarkQueueSet::initialize(G1CollectedHeap* g1h,
    38                                     Monitor* cbl_mon, Mutex* fl_lock,
    38                                     Monitor* cbl_mon, Mutex* fl_lock,
    39                                     int process_completed_threshold,
    39                                     int process_completed_threshold,
       
    40                                     uint buffer_enqueue_threshold_percentage,
    40                                     Mutex* lock) {
    41                                     Mutex* lock) {
    41   SATBMarkQueueSet::initialize(cbl_mon, fl_lock, process_completed_threshold, lock);
    42   SATBMarkQueueSet::initialize(cbl_mon, fl_lock,
       
    43                                process_completed_threshold,
       
    44                                buffer_enqueue_threshold_percentage,
       
    45                                lock);
    42   _g1h = g1h;
    46   _g1h = g1h;
    43 }
    47 }
    44 
    48 
    45 void G1SATBMarkQueueSet::handle_zero_index_for_thread(JavaThread* t) {
    49 void G1SATBMarkQueueSet::handle_zero_index_for_thread(JavaThread* t) {
    46   G1ThreadLocalData::satb_mark_queue(t).handle_zero_index();
    50   G1ThreadLocalData::satb_mark_queue(t).handle_zero_index();