< prev index next >

src/hotspot/share/gc/g1/g1BarrierSet.hpp

Print this page
rev 52404 : [mq]: make_allocators

*** 37,46 **** --- 37,48 ---- // snapshot-at-the-beginning marking. class G1BarrierSet: public CardTableBarrierSet { friend class VMStructs; private: + BufferNode::Allocator _satb_mark_queue_buffer_allocator; + BufferNode::Allocator _dirty_card_queue_buffer_allocator; G1SATBMarkQueueSet _satb_mark_queue_set; DirtyCardQueueSet _dirty_card_queue_set; static G1BarrierSet* g1_barrier_set() { return barrier_set_cast<G1BarrierSet>(BarrierSet::barrier_set());
*** 77,86 **** --- 79,91 ---- virtual void on_thread_create(Thread* thread); virtual void on_thread_destroy(Thread* thread); virtual void on_thread_attach(JavaThread* thread); virtual void on_thread_detach(JavaThread* thread); + BufferNode::Allocator& satb_mark_queue_buffer_allocator(); + BufferNode::Allocator& dirty_card_queue_buffer_allocator(); + static G1SATBMarkQueueSet& satb_mark_queue_set() { return g1_barrier_set()->_satb_mark_queue_set; } static DirtyCardQueueSet& dirty_card_queue_set() {
< prev index next >