comparison 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
comparison
equal deleted inserted replaced
23378:b11f345e4af4 23379:24505bf61633
30 class JVMCIJavaClasses : AllStatic { 30 class JVMCIJavaClasses : AllStatic {
31 public: 31 public:
32 static void compute_offsets(TRAPS); 32 static void compute_offsets(TRAPS);
33 }; 33 };
34 34
35 /* This macro defines the structure of the CompilationResult - classes. 35 /* This macro defines the structure of the JVMCI classes accessed from VM code.
36 * It will generate classes with accessors similar to javaClasses.hpp, but with specializations for oops, Handles and jni handles. 36 * It will generate classes with accessors similar to javaClasses.hpp, but with specializations for oops, Handles and jni handles.
37 * 37 *
38 * The public interface of these classes will look like this: 38 * The public interface of these classes will look like this:
39 39
40 * class StackSlot : AllStatic { 40 * class StackSlot : AllStatic {
278 start_class(HotSpotConstantPool) \ 278 start_class(HotSpotConstantPool) \
279 long_field(HotSpotConstantPool, metaspaceConstantPool) \ 279 long_field(HotSpotConstantPool, metaspaceConstantPool) \
280 end_class \ 280 end_class \
281 start_class(HotSpotJVMCIRuntime) \ 281 start_class(HotSpotJVMCIRuntime) \
282 objArrayOop_field(HotSpotJVMCIRuntime, trivialPrefixes, "[Ljava/lang/String;") \ 282 objArrayOop_field(HotSpotJVMCIRuntime, trivialPrefixes, "[Ljava/lang/String;") \
283 int_field(HotSpotJVMCIRuntime, compilationLevelAdjustment) \
283 end_class \ 284 end_class \
284 /* end*/ 285 /* end*/
285 286
286 #define START_CLASS(name) \ 287 #define START_CLASS(name) \
287 class name : AllStatic { \ 288 class name : AllStatic { \