< prev index next >
src/hotspot/share/gc/shenandoah/shenandoahSATBMarkQueueSet.cpp
Print this page
rev 53870 : imported patch shade-shenandoah-ptrqueue
*** 33,53 ****
{}
void ShenandoahSATBMarkQueueSet::initialize(ShenandoahHeap* const heap,
Monitor* cbl_mon,
int process_completed_threshold,
! uint buffer_enqueue_threshold_percentage,
! Mutex* lock) {
SATBMarkQueueSet::initialize(cbl_mon,
&_satb_mark_queue_buffer_allocator,
process_completed_threshold,
! buffer_enqueue_threshold_percentage,
! lock);
_heap = heap;
}
! SATBMarkQueue& ShenandoahSATBMarkQueueSet::satb_queue_for_thread(JavaThread* const t) const {
return ShenandoahThreadLocalData::satb_mark_queue(t);
}
template <bool RESOLVE>
class ShenandoahSATBMarkQueueFilterFn {
--- 33,51 ----
{}
void ShenandoahSATBMarkQueueSet::initialize(ShenandoahHeap* const heap,
Monitor* cbl_mon,
int process_completed_threshold,
! uint buffer_enqueue_threshold_percentage) {
SATBMarkQueueSet::initialize(cbl_mon,
&_satb_mark_queue_buffer_allocator,
process_completed_threshold,
! buffer_enqueue_threshold_percentage);
_heap = heap;
}
! SATBMarkQueue& ShenandoahSATBMarkQueueSet::satb_queue_for_thread(Thread* const t) const {
return ShenandoahThreadLocalData::satb_mark_queue(t);
}
template <bool RESOLVE>
class ShenandoahSATBMarkQueueFilterFn {
< prev index next >