diff src/share/vm/runtime/advancedThresholdPolicy.hpp @ 23379:24505bf61633

allow JVMCI compiler to change the compilation policy for a method (JDK-8152311)
author Doug Simon <doug.simon@oracle.com>
date Mon, 09 May 2016 16:08:16 +0200
parents 89152779163c
children
line wrap: on
line diff
--- a/src/share/vm/runtime/advancedThresholdPolicy.hpp	Mon May 09 11:31:54 2016 +0200
+++ b/src/share/vm/runtime/advancedThresholdPolicy.hpp	Mon May 09 16:08:16 2016 +0200
@@ -172,10 +172,10 @@
   // Transition functions.
   // call_event determines if a method should be compiled at a different
   // level with a regular invocation entry.
-  CompLevel call_event(Method* method, CompLevel cur_level);
+  CompLevel call_event(Method* method, CompLevel cur_level, JavaThread * thread);
   // loop_event checks if a method should be OSR compiled at a different
   // level.
-  CompLevel loop_event(Method* method, CompLevel cur_level);
+  CompLevel loop_event(Method* method, CompLevel cur_level, JavaThread * thread);
   // Has a method been long around?
   // We don't remove old methods from the compile queue even if they have
   // very low activity (see select_task()).