comparison src/share/vm/runtime/java.cpp @ 1681:126ea7725993

6953477: Increase portability and flexibility of building Hotspot Summary: A collection of portability improvements including shared code support for PPC, ARM platforms, software floating point, cross compilation support and improvements in error crash detail. Reviewed-by: phh, never, coleenp, dholmes
author bobv
date Tue, 03 Aug 2010 08:13:38 -0400
parents 2a47bd84841f
children d5d065957597
comparison
equal deleted inserted replaced
1680:a64438a2b7e8 1681:126ea7725993
376 if (ShowMessageBoxOnError && is_error_reported()) { 376 if (ShowMessageBoxOnError && is_error_reported()) {
377 os::infinite_sleep(); 377 os::infinite_sleep();
378 } 378 }
379 379
380 // Terminate watcher thread - must before disenrolling any periodic task 380 // Terminate watcher thread - must before disenrolling any periodic task
381 WatcherThread::stop(); 381 if (PeriodicTask::num_tasks() > 0)
382 WatcherThread::stop();
382 383
383 // Print statistics gathered (profiling ...) 384 // Print statistics gathered (profiling ...)
384 if (Arguments::has_profile()) { 385 if (Arguments::has_profile()) {
385 FlatProfiler::disengage(); 386 FlatProfiler::disengage();
386 FlatProfiler::print(10); 387 FlatProfiler::print(10);