hotspot/src/share/vm/runtime/thread.cpp
changeset 34285 0b07014c15e9
parent 34231 adc744ac832a
child 34633 2a6c7c7b30a7
child 35114 3d49d37ab9c4
equal deleted inserted replaced
34277:d457b9400c99 34285:0b07014c15e9
  4020   // running Java code or in VM are stopped by the Safepoint. However,
  4020   // running Java code or in VM are stopped by the Safepoint. However,
  4021   // daemon threads executing native code are still running.  But they
  4021   // daemon threads executing native code are still running.  But they
  4022   // will be stopped at native=>Java/VM barriers. Note that we can't
  4022   // will be stopped at native=>Java/VM barriers. Note that we can't
  4023   // simply kill or suspend them, as it is inherently deadlock-prone.
  4023   // simply kill or suspend them, as it is inherently deadlock-prone.
  4024 
  4024 
  4025 #ifndef PRODUCT
       
  4026   // disable function tracing at JNI/JVM barriers
       
  4027   TraceJNICalls = false;
       
  4028   TraceJVMCalls = false;
       
  4029   TraceRuntimeCalls = false;
       
  4030 #endif
       
  4031 
       
  4032   VM_Exit::set_vm_exited();
  4025   VM_Exit::set_vm_exited();
  4033 
  4026 
  4034   notify_vm_shutdown();
  4027   notify_vm_shutdown();
  4035 
  4028 
  4036   delete thread;
  4029   delete thread;