< prev index next >

src/hotspot/share/gc/shared/satbMarkQueue.cpp

Print this page
rev 52405 : [mq]: use_allocators

*** 109,123 **** PtrQueueSet(), _shared_satb_queue(this, true /* permanent */), _buffer_enqueue_threshold(0) {} ! void SATBMarkQueueSet::initialize(Monitor* cbl_mon, Mutex* fl_lock, int process_completed_threshold, uint buffer_enqueue_threshold_percentage, Mutex* lock) { ! PtrQueueSet::initialize(cbl_mon, fl_lock, process_completed_threshold, -1); _shared_satb_queue.set_lock(lock); assert(buffer_size() != 0, "buffer size not initialized"); // Minimum threshold of 1 ensures enqueuing of completely full buffers. size_t size = buffer_size(); size_t enqueue_qty = (size * buffer_enqueue_threshold_percentage) / 100; --- 109,124 ---- PtrQueueSet(), _shared_satb_queue(this, true /* permanent */), _buffer_enqueue_threshold(0) {} ! void SATBMarkQueueSet::initialize(Monitor* cbl_mon, ! BufferNode::Allocator* allocator, int process_completed_threshold, uint buffer_enqueue_threshold_percentage, Mutex* lock) { ! PtrQueueSet::initialize(cbl_mon, allocator, process_completed_threshold, -1); _shared_satb_queue.set_lock(lock); assert(buffer_size() != 0, "buffer size not initialized"); // Minimum threshold of 1 ensures enqueuing of completely full buffers. size_t size = buffer_size(); size_t enqueue_qty = (size * buffer_enqueue_threshold_percentage) / 100;
< prev index next >