diff src/share/vm/graal/graalCompiler.hpp @ 17372:4a6e24a8fc2c

Track code installation time
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Wed, 08 Oct 2014 11:44:00 -0700
parents 4481cf549cfc
children 9bb816169777
line wrap: on
line diff
--- a/src/share/vm/graal/graalCompiler.hpp	Wed Oct 08 11:41:24 2014 -0700
+++ b/src/share/vm/graal/graalCompiler.hpp	Wed Oct 08 11:44:00 2014 -0700
@@ -43,6 +43,8 @@
 
   static GraalCompiler* _instance;
  
+  static elapsedTimer _codeInstallTimer;
+
 public:
 
   GraalCompiler();
@@ -79,6 +81,8 @@
   void reset_compilation_stats();
 #endif // COMPILERGRAAL
 
+  static elapsedTimer* codeInstallTimer() { return &_codeInstallTimer; }
+
 #ifndef PRODUCT
   void compile_the_world();
 #endif