--- old/src/hotspot/share/gc/shared/barrierSet.hpp 2018-02-15 12:32:17.658386877 +0100 +++ new/src/hotspot/share/gc/shared/barrierSet.hpp 2018-02-15 12:32:17.387375204 +0100 @@ -115,8 +115,8 @@ // 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: