< prev index next >
src/hotspot/share/gc/g1/dirtyCardQueue.cpp
Print this page
rev 52405 : [mq]: use_allocators
@@ -144,22 +144,19 @@
uint DirtyCardQueueSet::num_par_ids() {
return (uint)os::initial_active_processor_count();
}
void DirtyCardQueueSet::initialize(Monitor* cbl_mon,
- Mutex* fl_lock,
+ BufferNode::Allocator* allocator,
int process_completed_threshold,
int max_completed_queue,
Mutex* lock,
- DirtyCardQueueSet* fl_owner,
bool init_free_ids) {
PtrQueueSet::initialize(cbl_mon,
- fl_lock,
+ allocator,
process_completed_threshold,
- max_completed_queue,
- fl_owner);
- set_buffer_size(G1UpdateBufferSize);
+ max_completed_queue);
_shared_dirty_card_queue.set_lock(lock);
if (init_free_ids) {
_free_ids = new FreeIdSet(num_par_ids(), _cbl_mon);
}
}
< prev index next >