src/share/vm/runtime/java.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File hotspot Sdiff src/share/vm/runtime

src/share/vm/runtime/java.cpp

Print this page




   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 #include "precompiled.hpp"

  26 #include "classfile/classLoader.hpp"
  27 #include "classfile/stringTable.hpp"
  28 #include "classfile/systemDictionary.hpp"
  29 #include "code/codeCache.hpp"
  30 #include "compiler/compileBroker.hpp"
  31 #include "compiler/compilerOracle.hpp"
  32 #include "gc/shared/genCollectedHeap.hpp"
  33 #include "interpreter/bytecodeHistogram.hpp"
  34 #if INCLUDE_JVMCI
  35 #include "jvmci/jvmciCompiler.hpp"
  36 #include "jvmci/jvmciRuntime.hpp"
  37 #endif
  38 #include "logging/log.hpp"
  39 #include "memory/oopFactory.hpp"
  40 #include "memory/resourceArea.hpp"
  41 #include "memory/universe.hpp"
  42 #include "oops/constantPool.hpp"
  43 #include "oops/generateOopMap.hpp"
  44 #include "oops/instanceKlass.hpp"
  45 #include "oops/instanceOop.hpp"


 263   if (TimeLivenessAnalysis) {
 264     MethodLiveness::print_times();
 265   }
 266 #ifdef ASSERT
 267   if (CollectIndexSetStatistics) {
 268     IndexSet::print_statistics();
 269   }
 270 #endif // ASSERT
 271 #else
 272 #ifdef INCLUDE_JVMCI
 273 #ifndef COMPILER1
 274   if ((TraceDeoptimization || LogVMOutput || LogCompilation) && UseCompiler) {
 275     FlagSetting fs(DisplayVMOutput, DisplayVMOutput && TraceDeoptimization);
 276     Deoptimization::print_statistics();
 277     SharedRuntime::print_statistics();
 278   }
 279 #endif
 280 #endif
 281 #endif
 282 




 283   if (PrintNMethodStatistics) {
 284     nmethod::print_statistics();
 285   }
 286   if (CountCompiledCalls) {
 287     print_method_invocation_histogram();
 288   }
 289 
 290   print_method_profiling_data();
 291 
 292   if (TimeCompilationPolicy) {
 293     CompilationPolicy::policy()->print_time();
 294   }
 295   if (TimeOopMap) {
 296     GenerateOopMap::print_time();
 297   }
 298   if (ProfilerCheckIntervals) {
 299     PeriodicTask::print_intervals();
 300   }
 301   if (PrintSymbolTableSizeHistogram) {
 302     SymbolTable::print_histogram();




   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 #include "precompiled.hpp"
  26 #include "aot/aotLoader.hpp"
  27 #include "classfile/classLoader.hpp"
  28 #include "classfile/stringTable.hpp"
  29 #include "classfile/systemDictionary.hpp"
  30 #include "code/codeCache.hpp"
  31 #include "compiler/compileBroker.hpp"
  32 #include "compiler/compilerOracle.hpp"
  33 #include "gc/shared/genCollectedHeap.hpp"
  34 #include "interpreter/bytecodeHistogram.hpp"
  35 #if INCLUDE_JVMCI
  36 #include "jvmci/jvmciCompiler.hpp"
  37 #include "jvmci/jvmciRuntime.hpp"
  38 #endif
  39 #include "logging/log.hpp"
  40 #include "memory/oopFactory.hpp"
  41 #include "memory/resourceArea.hpp"
  42 #include "memory/universe.hpp"
  43 #include "oops/constantPool.hpp"
  44 #include "oops/generateOopMap.hpp"
  45 #include "oops/instanceKlass.hpp"
  46 #include "oops/instanceOop.hpp"


 264   if (TimeLivenessAnalysis) {
 265     MethodLiveness::print_times();
 266   }
 267 #ifdef ASSERT
 268   if (CollectIndexSetStatistics) {
 269     IndexSet::print_statistics();
 270   }
 271 #endif // ASSERT
 272 #else
 273 #ifdef INCLUDE_JVMCI
 274 #ifndef COMPILER1
 275   if ((TraceDeoptimization || LogVMOutput || LogCompilation) && UseCompiler) {
 276     FlagSetting fs(DisplayVMOutput, DisplayVMOutput && TraceDeoptimization);
 277     Deoptimization::print_statistics();
 278     SharedRuntime::print_statistics();
 279   }
 280 #endif
 281 #endif
 282 #endif
 283 
 284   if (PrintAOTStatistics) {
 285     AOTLoader::print_statistics();
 286   }
 287 
 288   if (PrintNMethodStatistics) {
 289     nmethod::print_statistics();
 290   }
 291   if (CountCompiledCalls) {
 292     print_method_invocation_histogram();
 293   }
 294 
 295   print_method_profiling_data();
 296 
 297   if (TimeCompilationPolicy) {
 298     CompilationPolicy::policy()->print_time();
 299   }
 300   if (TimeOopMap) {
 301     GenerateOopMap::print_time();
 302   }
 303   if (ProfilerCheckIntervals) {
 304     PeriodicTask::print_intervals();
 305   }
 306   if (PrintSymbolTableSizeHistogram) {
 307     SymbolTable::print_histogram();


src/share/vm/runtime/java.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File