1.1 --- a/src/share/vm/runtime/java.cpp Thu May 22 09:12:29 2014 +0200 1.2 +++ b/src/share/vm/runtime/java.cpp Fri Apr 11 11:00:12 2014 +0200 1.3 @@ -497,6 +497,9 @@ 1.4 os::infinite_sleep(); 1.5 } 1.6 1.7 + // Stop any ongoing concurrent GC work 1.8 + Universe::heap()->stop(); 1.9 + 1.10 // Terminate watcher thread - must before disenrolling any periodic task 1.11 if (PeriodicTask::num_tasks() > 0) 1.12 WatcherThread::stop();