< prev index next >

src/hotspot/share/runtime/thread.cpp

Print this page

        

*** 1987,1997 **** // These have to be removed while this is still a valid thread. remove_stack_guard_pages(); if (UseTLAB) { ! tlab().make_parsable(true); // retire TLAB } if (JvmtiEnv::environments_might_exist()) { JvmtiExport::cleanup_thread(this); } --- 1987,1997 ---- // These have to be removed while this is still a valid thread. remove_stack_guard_pages(); if (UseTLAB) { ! tlab().retire(); } if (JvmtiEnv::environments_might_exist()) { JvmtiExport::cleanup_thread(this); }
*** 2043,2053 **** // These have to be removed while this is still a valid thread. remove_stack_guard_pages(); if (UseTLAB) { ! tlab().make_parsable(true); // retire TLAB, if any } BarrierSet::barrier_set()->on_thread_detach(this); Threads::remove(this); --- 2043,2053 ---- // These have to be removed while this is still a valid thread. remove_stack_guard_pages(); if (UseTLAB) { ! tlab().retire(); } BarrierSet::barrier_set()->on_thread_detach(this); Threads::remove(this);
< prev index next >