equal
deleted
inserted
replaced
53 #include "prims/jvmtiExport.hpp" |
53 #include "prims/jvmtiExport.hpp" |
54 #include "runtime/arguments.hpp" |
54 #include "runtime/arguments.hpp" |
55 #include "runtime/biasedLocking.hpp" |
55 #include "runtime/biasedLocking.hpp" |
56 #include "runtime/compilationPolicy.hpp" |
56 #include "runtime/compilationPolicy.hpp" |
57 #include "runtime/deoptimization.hpp" |
57 #include "runtime/deoptimization.hpp" |
58 #include "runtime/fprofiler.hpp" |
|
59 #include "runtime/init.hpp" |
58 #include "runtime/init.hpp" |
60 #include "runtime/interfaceSupport.hpp" |
59 #include "runtime/interfaceSupport.hpp" |
61 #include "runtime/java.hpp" |
60 #include "runtime/java.hpp" |
62 #include "runtime/memprofiler.hpp" |
61 #include "runtime/memprofiler.hpp" |
63 #include "runtime/sharedRuntime.hpp" |
62 #include "runtime/sharedRuntime.hpp" |
463 // PeriodicTasks to reduce the likelihood of races. |
462 // PeriodicTasks to reduce the likelihood of races. |
464 if (PeriodicTask::num_tasks() > 0) { |
463 if (PeriodicTask::num_tasks() > 0) { |
465 WatcherThread::stop(); |
464 WatcherThread::stop(); |
466 } |
465 } |
467 |
466 |
468 // Print statistics gathered (profiling ...) |
|
469 if (Arguments::has_profile()) { |
|
470 FlatProfiler::disengage(); |
|
471 FlatProfiler::print(10); |
|
472 } |
|
473 |
|
474 // shut down the StatSampler task |
467 // shut down the StatSampler task |
475 StatSampler::disengage(); |
468 StatSampler::disengage(); |
476 StatSampler::destroy(); |
469 StatSampler::destroy(); |
477 |
470 |
478 // Stop concurrent GC threads |
471 // Stop concurrent GC threads |