diff src/share/vm/compiler/compileBroker.cpp @ 18171:9bb816169777

Report code install timer in hosted mode
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Mon, 27 Oct 2014 13:37:06 -0700
parents 2a69cbe850a8
children ab47ef2f2207
line wrap: on
line diff
--- a/src/share/vm/compiler/compileBroker.cpp	Fri Oct 24 16:18:10 2014 +0200
+++ b/src/share/vm/compiler/compileBroker.cpp	Mon Oct 27 13:37:06 2014 -0700
@@ -2436,6 +2436,11 @@
   total_compile_count = osr_compile_count + standard_compile_count;
   total_compilation.add(osr_compilation);
   total_compilation.add(standard_compilation);
+
+#ifndef COMPILERGRAAL
+  // In hosted mode, print the Graal compiler specific counters manually.
+  GraalCompiler::print_compilation_timers();
+#endif
 #else
   elapsedTimer standard_compilation = CompileBroker::_t_standard_compilation;
   elapsedTimer osr_compilation = CompileBroker::_t_osr_compilation;