< prev index next >

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

Print this page
rev 54116 : 8220671: Initialization race for non-JavaThread PtrQueues

@@ -77,10 +77,11 @@
 
   virtual void on_thread_create(Thread* thread);
   virtual void on_thread_destroy(Thread* thread);
   virtual void on_thread_attach(Thread* thread);
   virtual void on_thread_detach(Thread* thread);
+  virtual bool needs_sts_sync_on_attach_detach() { return true; }
 
   BufferNode::Allocator& satb_mark_queue_buffer_allocator();
   BufferNode::Allocator& dirty_card_queue_buffer_allocator();
 
   static G1SATBMarkQueueSet& satb_mark_queue_set() {
< prev index next >