diff src/share/vm/jvmci/jvmciJavaClasses.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 f8178417d018
children 19855d029fc0
line wrap: on
line diff
--- a/src/share/vm/jvmci/jvmciJavaClasses.hpp	Mon May 09 11:31:54 2016 +0200
+++ b/src/share/vm/jvmci/jvmciJavaClasses.hpp	Mon May 09 16:08:16 2016 +0200
@@ -32,7 +32,7 @@
   static void compute_offsets(TRAPS);
 };
 
-/* This macro defines the structure of the CompilationResult - classes.
+/* This macro defines the structure of the JVMCI classes accessed from VM code.
  * It will generate classes with accessors similar to javaClasses.hpp, but with specializations for oops, Handles and jni handles.
  *
  * The public interface of these classes will look like this:
@@ -280,6 +280,7 @@
   end_class                                                                                                                                                    \
   start_class(HotSpotJVMCIRuntime)                                                                                                                             \
     objArrayOop_field(HotSpotJVMCIRuntime, trivialPrefixes, "[Ljava/lang/String;")                                                                             \
+    int_field(HotSpotJVMCIRuntime, compilationLevelAdjustment)                                                                                                 \
   end_class                                                                                                                                                    \
   /* end*/