hotspot/src/share/vm/runtime/java.cpp
changeset 24093 095cc0a63ed9
parent 23526 6851d341ad52
child 24426 0a69c8cdfca9
child 24424 2658d7834c6e
equal deleted inserted replaced
24092:e274d864545a 24093:095cc0a63ed9
   497   // Hang forever on exit if we're reporting an error.
   497   // Hang forever on exit if we're reporting an error.
   498   if (ShowMessageBoxOnError && is_error_reported()) {
   498   if (ShowMessageBoxOnError && is_error_reported()) {
   499     os::infinite_sleep();
   499     os::infinite_sleep();
   500   }
   500   }
   501 
   501 
       
   502   // Stop any ongoing concurrent GC work
       
   503   Universe::heap()->stop();
       
   504 
   502   // Terminate watcher thread - must before disenrolling any periodic task
   505   // Terminate watcher thread - must before disenrolling any periodic task
   503   if (PeriodicTask::num_tasks() > 0)
   506   if (PeriodicTask::num_tasks() > 0)
   504     WatcherThread::stop();
   507     WatcherThread::stop();
   505 
   508 
   506   // Print statistics gathered (profiling ...)
   509   // Print statistics gathered (profiling ...)