Mercurial > hg > graal-jvmci-8
comparison src/share/vm/graal/graalJavaAccess.hpp @ 5526:87e4aed94b26
Remove HotSpotCompiler interface, let HotSpotCompilerImpl implement GraalRuntime (in preparation of renaming).
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Fri, 08 Jun 2012 18:31:33 +0200 |
parents | 35753b8c098a |
children | 9da759562a42 |
comparison
equal
deleted
inserted
replaced
5525:77d302416830 | 5526:87e4aed94b26 |
---|---|
44 * | 44 * |
45 */ | 45 */ |
46 | 46 |
47 #define COMPILER_CLASSES_DO(start_class, end_class, char_field, int_field, boolean_field, long_field, float_field, oop_field, static_oop_field) \ | 47 #define COMPILER_CLASSES_DO(start_class, end_class, char_field, int_field, boolean_field, long_field, float_field, oop_field, static_oop_field) \ |
48 start_class(HotSpotTypeResolved) \ | 48 start_class(HotSpotTypeResolved) \ |
49 oop_field(HotSpotTypeResolved, compiler, "Lcom/oracle/graal/hotspot/HotSpotCompiler;") \ | 49 oop_field(HotSpotTypeResolved, compiler, "Lcom/oracle/graal/hotspot/HotSpotCompilerImpl;") \ |
50 oop_field(HotSpotTypeResolved, javaMirror, "Ljava/lang/Class;") \ | 50 oop_field(HotSpotTypeResolved, javaMirror, "Ljava/lang/Class;") \ |
51 oop_field(HotSpotTypeResolved, simpleName, "Ljava/lang/String;") \ | 51 oop_field(HotSpotTypeResolved, simpleName, "Ljava/lang/String;") \ |
52 int_field(HotSpotTypeResolved, accessFlags) \ | 52 int_field(HotSpotTypeResolved, accessFlags) \ |
53 boolean_field(HotSpotTypeResolved, hasFinalizer) \ | 53 boolean_field(HotSpotTypeResolved, hasFinalizer) \ |
54 boolean_field(HotSpotTypeResolved, hasSubclass) \ | 54 boolean_field(HotSpotTypeResolved, hasSubclass) \ |
61 end_class \ | 61 end_class \ |
62 start_class(HotSpotKlassOop) \ | 62 start_class(HotSpotKlassOop) \ |
63 oop_field(HotSpotKlassOop, javaMirror, "Ljava/lang/Class;") \ | 63 oop_field(HotSpotKlassOop, javaMirror, "Ljava/lang/Class;") \ |
64 end_class \ | 64 end_class \ |
65 start_class(HotSpotMethodResolved) \ | 65 start_class(HotSpotMethodResolved) \ |
66 oop_field(HotSpotMethodResolved, compiler, "Lcom/oracle/graal/hotspot/HotSpotCompiler;") \ | 66 oop_field(HotSpotMethodResolved, compiler, "Lcom/oracle/graal/hotspot/HotSpotCompilerImpl;") \ |
67 oop_field(HotSpotMethodResolved, name, "Ljava/lang/String;") \ | 67 oop_field(HotSpotMethodResolved, name, "Ljava/lang/String;") \ |
68 oop_field(HotSpotMethodResolved, holder, "Lcom/oracle/graal/api/meta/RiResolvedType;") \ | 68 oop_field(HotSpotMethodResolved, holder, "Lcom/oracle/graal/api/meta/RiResolvedType;") \ |
69 oop_field(HotSpotMethodResolved, javaMirror, "Ljava/lang/Object;") \ | 69 oop_field(HotSpotMethodResolved, javaMirror, "Ljava/lang/Object;") \ |
70 int_field(HotSpotMethodResolved, codeSize) \ | 70 int_field(HotSpotMethodResolved, codeSize) \ |
71 int_field(HotSpotMethodResolved, accessFlags) \ | 71 int_field(HotSpotMethodResolved, accessFlags) \ |
72 int_field(HotSpotMethodResolved, maxLocals) \ | 72 int_field(HotSpotMethodResolved, maxLocals) \ |
73 int_field(HotSpotMethodResolved, maxStackSize) \ | 73 int_field(HotSpotMethodResolved, maxStackSize) \ |
74 boolean_field(HotSpotMethodResolved, canBeInlined) \ | 74 boolean_field(HotSpotMethodResolved, canBeInlined) \ |
75 end_class \ | 75 end_class \ |
76 start_class(HotSpotMethodData) \ | 76 start_class(HotSpotMethodData) \ |
77 oop_field(HotSpotMethodData, compiler, "Lcom/oracle/graal/hotspot/HotSpotCompiler;") \ | 77 oop_field(HotSpotMethodData, compiler, "Lcom/oracle/graal/hotspot/HotSpotCompilerImpl;") \ |
78 oop_field(HotSpotMethodData, hotspotMirror, "Ljava/lang/Object;") \ | 78 oop_field(HotSpotMethodData, hotspotMirror, "Ljava/lang/Object;") \ |
79 int_field(HotSpotMethodData, normalDataSize) \ | 79 int_field(HotSpotMethodData, normalDataSize) \ |
80 int_field(HotSpotMethodData, extraDataSize) \ | 80 int_field(HotSpotMethodData, extraDataSize) \ |
81 end_class \ | 81 end_class \ |
82 start_class(HotSpotType) \ | 82 start_class(HotSpotType) \ |
86 oop_field(HotSpotField, constant, "Lcom/oracle/graal/api/meta/RiConstant;") \ | 86 oop_field(HotSpotField, constant, "Lcom/oracle/graal/api/meta/RiConstant;") \ |
87 int_field(HotSpotField, offset) \ | 87 int_field(HotSpotField, offset) \ |
88 int_field(HotSpotField, accessFlags) \ | 88 int_field(HotSpotField, accessFlags) \ |
89 end_class \ | 89 end_class \ |
90 start_class(HotSpotCompiledMethod) \ | 90 start_class(HotSpotCompiledMethod) \ |
91 oop_field(HotSpotCompiledMethod, compiler, "Lcom/oracle/graal/hotspot/HotSpotCompiler;") \ | 91 oop_field(HotSpotCompiledMethod, compiler, "Lcom/oracle/graal/hotspot/HotSpotCompilerImpl;") \ |
92 long_field(HotSpotCompiledMethod, nmethod) \ | 92 long_field(HotSpotCompiledMethod, nmethod) \ |
93 oop_field(HotSpotCompiledMethod, method, "Lcom/oracle/graal/api/meta/RiResolvedMethod;")\ | 93 oop_field(HotSpotCompiledMethod, method, "Lcom/oracle/graal/api/meta/RiResolvedMethod;")\ |
94 end_class \ | 94 end_class \ |
95 start_class(HotSpotCodeInfo) \ | 95 start_class(HotSpotCodeInfo) \ |
96 long_field(HotSpotCodeInfo, start) \ | 96 long_field(HotSpotCodeInfo, start) \ |