Mercurial > hg > truffle
comparison src/share/vm/runtime/java.cpp @ 17947:1772223a25a2
8037112: gc/g1/TestHumongousAllocInitialMark.java caused SIGSEGV
Reviewed-by: brutisso, mgerdin
author | pliden |
---|---|
date | Fri, 11 Apr 2014 11:00:12 +0200 |
parents | 78bbf4d43a14 |
children | a45a4f5a9609 |
comparison
equal
deleted
inserted
replaced
17946:997fd9660dd5 | 17947:1772223a25a2 |
---|---|
495 // Hang forever on exit if we're reporting an error. | 495 // Hang forever on exit if we're reporting an error. |
496 if (ShowMessageBoxOnError && is_error_reported()) { | 496 if (ShowMessageBoxOnError && is_error_reported()) { |
497 os::infinite_sleep(); | 497 os::infinite_sleep(); |
498 } | 498 } |
499 | 499 |
500 // Stop any ongoing concurrent GC work | |
501 Universe::heap()->stop(); | |
502 | |
500 // Terminate watcher thread - must before disenrolling any periodic task | 503 // Terminate watcher thread - must before disenrolling any periodic task |
501 if (PeriodicTask::num_tasks() > 0) | 504 if (PeriodicTask::num_tasks() > 0) |
502 WatcherThread::stop(); | 505 WatcherThread::stop(); |
503 | 506 |
504 // Print statistics gathered (profiling ...) | 507 // Print statistics gathered (profiling ...) |