< prev index next >

src/hotspot/share/gc/shared/barrierSet.hpp

Print this page

        

@@ -113,12 +113,12 @@
   // that did not enter a TLAB. Used for e.g. ReduceInitialCardMarks.
   // The allocation is safe to use iff it returns true. If not, the slow-path allocation
   // is redone until it succeeds. This can e.g. prevent allocations from the slow path
   // to be in old.
   virtual void on_slowpath_allocation_exit(JavaThread* thread, oop new_obj) {}
-  virtual void on_thread_create(JavaThread* thread) {}
-  virtual void on_thread_destroy(JavaThread* thread) {}
+  virtual void on_thread_attach(JavaThread* thread) {}
+  virtual void on_thread_detach(JavaThread* thread) {}
   virtual void make_parsable(JavaThread* thread) {}
 
 protected:
   virtual void write_ref_array_work(MemRegion mr) = 0;
 
< prev index next >