src/hotspot/share/runtime/thread.cpp
changeset 52341 2b58b8e1d28f
parent 52302 912b79d983d9
child 52386 e256b3b62e20
equal deleted inserted replaced
52340:adb107c71a12 52341:2b58b8e1d28f
  4274   thread->invoke_shutdown_hooks();
  4274   thread->invoke_shutdown_hooks();
  4275 
  4275 
  4276   before_exit(thread);
  4276   before_exit(thread);
  4277 
  4277 
  4278   thread->exit(true);
  4278   thread->exit(true);
  4279   // thread will never call smr_delete, instead of implicit cancel
       
  4280   // in wait_for_vm_thread_exit we do it explicit.
       
  4281   thread->cancel_handshake();
       
  4282 
  4279 
  4283   // Stop VM thread.
  4280   // Stop VM thread.
  4284   {
  4281   {
  4285     // 4945125 The vm thread comes to a safepoint during exit.
  4282     // 4945125 The vm thread comes to a safepoint during exit.
  4286     // GC vm_operations can get caught at the safepoint, and the
  4283     // GC vm_operations can get caught at the safepoint, and the