diff src/share/vm/graal/graalCompilerToVM.cpp @ 17372:4a6e24a8fc2c

Track code installation time
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Wed, 08 Oct 2014 11:44:00 -0700
parents 8853b9304083
children f55f2d400797
line wrap: on
line diff
--- a/src/share/vm/graal/graalCompilerToVM.cpp	Wed Oct 08 11:41:24 2014 -0700
+++ b/src/share/vm/graal/graalCompilerToVM.cpp	Wed Oct 08 11:44:00 2014 -0700
@@ -454,6 +454,7 @@
   Handle installed_code_handle = JNIHandles::resolve(installed_code);
   Handle speculation_log_handle = JNIHandles::resolve(speculation_log);
 
+  TraceTime install_time("installCode", GraalCompiler::codeInstallTimer());
   CodeInstaller installer;
   GraalEnv::CodeInstallResult result = installer.install(compiled_code_handle, cb, installed_code_handle, speculation_log_handle);