diff src/share/vm/graal/graalCompiler.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 70077134cabc
children c307546c7b0a
line wrap: on
line diff
--- a/src/share/vm/graal/graalCompiler.cpp	Fri Oct 24 16:18:10 2014 +0200
+++ b/src/share/vm/graal/graalCompiler.cpp	Mon Oct 27 13:37:06 2014 -0700
@@ -136,12 +136,17 @@
 
 // Print compilation timers and statistics
 void GraalCompiler::print_timers() {
+  print_compilation_timers();
+}
+
+#endif // COMPILERGRAAL
+
+// Print compilation timers and statistics
+void GraalCompiler::print_compilation_timers() {
   TRACE_graal_1("GraalCompiler::print_timers");
   tty->print_cr("       Graal code install time:        %6.3f s",    _codeInstallTimer.seconds());
 }
 
-#endif // COMPILERGRAAL
-
 #ifndef PRODUCT
 void GraalCompiler::compile_the_world() {
   HandleMark hm;