src/hotspot/share/gc/g1/g1SATBMarkQueueSet.cpp
changeset 52582 6df094be7f58
parent 51441 2e91d927e00c
child 52726 9cfa2e273b77
equal deleted inserted replaced
52581:d402a406bbc3 52582:6df094be7f58
    33 #include "utilities/globalDefinitions.hpp"
    33 #include "utilities/globalDefinitions.hpp"
    34 
    34 
    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,
       
    39                                     BufferNode::Allocator* allocator,
    39                                     int process_completed_threshold,
    40                                     int process_completed_threshold,
    40                                     uint buffer_enqueue_threshold_percentage,
    41                                     uint buffer_enqueue_threshold_percentage,
    41                                     Mutex* lock) {
    42                                     Mutex* lock) {
    42   SATBMarkQueueSet::initialize(cbl_mon, fl_lock,
    43   SATBMarkQueueSet::initialize(cbl_mon,
       
    44                                allocator,
    43                                process_completed_threshold,
    45                                process_completed_threshold,
    44                                buffer_enqueue_threshold_percentage,
    46                                buffer_enqueue_threshold_percentage,
    45                                lock);
    47                                lock);
    46   _g1h = g1h;
    48   _g1h = g1h;
    47 }
    49 }