equal
deleted
inserted
replaced
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 ...) |