diff src/share/vm/oops/method.cpp @ 7154:5d0bb7d52783

changes to support Graal co-existing with the other HotSpot compiler(s) and being used for explicit compilation requests and code installation via the Graal API
author Doug Simon <doug.simon@oracle.com>
date Wed, 12 Dec 2012 21:36:40 +0100
parents 679e6584c177
children 291ffc492eb6
line wrap: on
line diff
--- a/src/share/vm/oops/method.cpp	Wed Dec 12 15:46:11 2012 +0100
+++ b/src/share/vm/oops/method.cpp	Wed Dec 12 21:36:40 2012 +0100
@@ -121,6 +121,11 @@
   backedge_counter()->init();
   clear_number_of_breakpoints();
 
+#ifdef GRAAL
+  set_graal_invocation_time(0L);
+  set_graal_priority(0);
+#endif
+
 #ifdef TIERED
   set_rate(0);
   set_prev_event_count(0);