--- old/src/share/vm/runtime/java.cpp 2017-08-16 10:56:41.000000000 -0500 +++ new/src/share/vm/runtime/java.cpp 2017-08-16 10:56:41.000000000 -0500 @@ -54,7 +54,6 @@ #include "runtime/biasedLocking.hpp" #include "runtime/compilationPolicy.hpp" #include "runtime/deoptimization.hpp" -#include "runtime/fprofiler.hpp" #include "runtime/init.hpp" #include "runtime/interfaceSupport.hpp" #include "runtime/java.hpp" @@ -464,12 +463,6 @@ WatcherThread::stop(); } - // Print statistics gathered (profiling ...) - if (Arguments::has_profile()) { - FlatProfiler::disengage(); - FlatProfiler::print(10); - } - // shut down the StatSampler task StatSampler::disengage(); StatSampler::destroy();