Mercurial > hg > graal-jvmci-8
comparison src/share/vm/graal/graalJavaAccess.hpp @ 21526:1da7aef31a08
created com.oracle.graal.hotspot.jvmci package and moved classes destined for future JVMCI module into it (JBS:GRAAL-53)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 19 May 2015 23:16:07 +0200 |
parents | 0cf5897db25a |
children | 5324104ac4f3 |
comparison
equal
deleted
inserted
replaced
21489:b3f1d8b23037 | 21526:1da7aef31a08 |
---|---|
46 * }; | 46 * }; |
47 * | 47 * |
48 */ | 48 */ |
49 | 49 |
50 #define COMPILER_CLASSES_DO(start_class, end_class, char_field, int_field, boolean_field, long_field, float_field, oop_field, typeArrayOop_field, objArrayOop_field, static_oop_field, static_int_field, static_boolean_field) \ | 50 #define COMPILER_CLASSES_DO(start_class, end_class, char_field, int_field, boolean_field, long_field, float_field, oop_field, typeArrayOop_field, objArrayOop_field, static_oop_field, static_int_field, static_boolean_field) \ |
51 start_class(HotSpotResolvedObjectTypeImpl) \ | 51 start_class(HotSpotResolvedObjectTypeImpl) \ |
52 oop_field(HotSpotResolvedObjectTypeImpl, javaClass, "Ljava/lang/Class;") \ | 52 oop_field(HotSpotResolvedObjectTypeImpl, javaClass, "Ljava/lang/Class;") \ |
53 end_class \ | 53 end_class \ |
54 start_class(HotSpotResolvedJavaMethodImpl) \ | 54 start_class(HotSpotResolvedJavaMethodImpl) \ |
55 long_field(HotSpotResolvedJavaMethodImpl, metaspaceMethod) \ | 55 long_field(HotSpotResolvedJavaMethodImpl, metaspaceMethod) \ |
56 end_class \ | 56 end_class \ |
57 start_class(InstalledCode) \ | 57 start_class(InstalledCode) \ |
58 long_field(InstalledCode, address) \ | 58 long_field(InstalledCode, address) \ |
59 long_field(InstalledCode, version) \ | 59 long_field(InstalledCode, version) \ |
60 oop_field(InstalledCode, name, "Ljava/lang/String;") \ | 60 oop_field(InstalledCode, name, "Ljava/lang/String;") \ |
69 end_class \ | 69 end_class \ |
70 start_class(HotSpotCompiledCode) \ | 70 start_class(HotSpotCompiledCode) \ |
71 oop_field(HotSpotCompiledCode, comp, "Lcom/oracle/graal/api/code/CompilationResult;") \ | 71 oop_field(HotSpotCompiledCode, comp, "Lcom/oracle/graal/api/code/CompilationResult;") \ |
72 objArrayOop_field(HotSpotCompiledCode, sites, "[Lcom/oracle/graal/api/code/CompilationResult$Site;") \ | 72 objArrayOop_field(HotSpotCompiledCode, sites, "[Lcom/oracle/graal/api/code/CompilationResult$Site;") \ |
73 objArrayOop_field(HotSpotCompiledCode, exceptionHandlers, "[Lcom/oracle/graal/api/code/CompilationResult$ExceptionHandler;") \ | 73 objArrayOop_field(HotSpotCompiledCode, exceptionHandlers, "[Lcom/oracle/graal/api/code/CompilationResult$ExceptionHandler;") \ |
74 objArrayOop_field(HotSpotCompiledCode, comments, "[Lcom/oracle/graal/hotspot/HotSpotCompiledCode$Comment;") \ | 74 objArrayOop_field(HotSpotCompiledCode, comments, "[Lcom/oracle/graal/hotspot/jvmci/HotSpotCompiledCode$Comment;") \ |
75 typeArrayOop_field(HotSpotCompiledCode, dataSection, "[B") \ | 75 typeArrayOop_field(HotSpotCompiledCode, dataSection, "[B") \ |
76 int_field(HotSpotCompiledCode, dataSectionAlignment) \ | 76 int_field(HotSpotCompiledCode, dataSectionAlignment) \ |
77 objArrayOop_field(HotSpotCompiledCode, dataSectionPatches, "[Lcom/oracle/graal/api/code/CompilationResult$DataPatch;") \ | 77 objArrayOop_field(HotSpotCompiledCode, dataSectionPatches, "[Lcom/oracle/graal/api/code/CompilationResult$DataPatch;") \ |
78 end_class \ | 78 end_class \ |
79 start_class(HotSpotCompiledCode_Comment) \ | 79 start_class(HotSpotCompiledCode_Comment) \ |
80 oop_field(HotSpotCompiledCode_Comment, text, "Ljava/lang/String;") \ | 80 oop_field(HotSpotCompiledCode_Comment, text, "Ljava/lang/String;") \ |
81 int_field(HotSpotCompiledCode_Comment, pcOffset) \ | 81 int_field(HotSpotCompiledCode_Comment, pcOffset) \ |
82 end_class \ | 82 end_class \ |
83 start_class(HotSpotCompiledNmethod) \ | 83 start_class(HotSpotCompiledNmethod) \ |
84 oop_field(HotSpotCompiledNmethod, method, "Lcom/oracle/graal/hotspot/meta/HotSpotResolvedJavaMethod;") \ | 84 oop_field(HotSpotCompiledNmethod, method, "Lcom/oracle/graal/hotspot/jvmci/HotSpotResolvedJavaMethod;") \ |
85 oop_field(HotSpotCompiledNmethod, installationFailureMessage, "Ljava/lang/String;") \ | 85 oop_field(HotSpotCompiledNmethod, installationFailureMessage, "Ljava/lang/String;") \ |
86 int_field(HotSpotCompiledNmethod, entryBCI) \ | 86 int_field(HotSpotCompiledNmethod, entryBCI) \ |
87 int_field(HotSpotCompiledNmethod, id) \ | 87 int_field(HotSpotCompiledNmethod, id) \ |
88 long_field(HotSpotCompiledNmethod, graalEnv) \ | 88 long_field(HotSpotCompiledNmethod, graalEnv) \ |
89 end_class \ | 89 end_class \ |
90 start_class(HotSpotCompiledRuntimeStub) \ | 90 start_class(HotSpotForeignCallTarget) \ |
91 oop_field(HotSpotCompiledRuntimeStub, stubName, "Ljava/lang/String;") \ | 91 long_field(HotSpotForeignCallTarget, address) \ |
92 end_class \ | |
93 start_class(HotSpotForeignCallLinkageImpl) \ | |
94 long_field(HotSpotForeignCallLinkageImpl, address) \ | |
95 end_class \ | 92 end_class \ |
96 start_class(CompilationResult) \ | 93 start_class(CompilationResult) \ |
97 int_field(CompilationResult, totalFrameSize) \ | 94 int_field(CompilationResult, totalFrameSize) \ |
98 int_field(CompilationResult, customStackAreaOffset) \ | 95 int_field(CompilationResult, customStackAreaOffset) \ |
96 oop_field(CompilationResult, name, "Ljava/lang/String;") \ | |
99 typeArrayOop_field(CompilationResult, targetCode, "[B") \ | 97 typeArrayOop_field(CompilationResult, targetCode, "[B") \ |
100 objArrayOop_field(CompilationResult, assumptions, "[Lcom/oracle/graal/api/meta/Assumptions$Assumption;") \ | 98 objArrayOop_field(CompilationResult, assumptions, "[Lcom/oracle/graal/api/meta/Assumptions$Assumption;") \ |
101 objArrayOop_field(CompilationResult, methods, "[Lcom/oracle/graal/api/meta/ResolvedJavaMethod;") \ | 99 objArrayOop_field(CompilationResult, methods, "[Lcom/oracle/graal/api/meta/ResolvedJavaMethod;") \ |
102 int_field(CompilationResult, targetCodeSize) \ | 100 int_field(CompilationResult, targetCodeSize) \ |
103 end_class \ | 101 end_class \ |
160 oop_field(DebugInfo, referenceMap, "Lcom/oracle/graal/api/code/ReferenceMap;") \ | 158 oop_field(DebugInfo, referenceMap, "Lcom/oracle/graal/api/code/ReferenceMap;") \ |
161 oop_field(DebugInfo, calleeSaveInfo, "Lcom/oracle/graal/api/code/RegisterSaveLayout;") \ | 159 oop_field(DebugInfo, calleeSaveInfo, "Lcom/oracle/graal/api/code/RegisterSaveLayout;") \ |
162 objArrayOop_field(DebugInfo, virtualObjectMapping, "[Lcom/oracle/graal/api/meta/Value;") \ | 160 objArrayOop_field(DebugInfo, virtualObjectMapping, "[Lcom/oracle/graal/api/meta/Value;") \ |
163 end_class \ | 161 end_class \ |
164 start_class(HotSpotReferenceMap) \ | 162 start_class(HotSpotReferenceMap) \ |
165 oop_field(HotSpotReferenceMap, registerRefMap, "Lcom/oracle/graal/hotspot/HotSpotReferenceMap$HotSpotOopMap;") \ | 163 oop_field(HotSpotReferenceMap, registerRefMap, "Lcom/oracle/graal/hotspot/jvmci/HotSpotReferenceMap$HotSpotOopMap;") \ |
166 oop_field(HotSpotReferenceMap, frameRefMap, "Lcom/oracle/graal/hotspot/HotSpotReferenceMap$HotSpotOopMap;") \ | 164 oop_field(HotSpotReferenceMap, frameRefMap, "Lcom/oracle/graal/hotspot/jvmci/HotSpotReferenceMap$HotSpotOopMap;") \ |
167 end_class \ | 165 end_class \ |
168 start_class(RegisterSaveLayout) \ | 166 start_class(RegisterSaveLayout) \ |
169 objArrayOop_field(RegisterSaveLayout, registers, "[Lcom/oracle/graal/api/code/Register;") \ | 167 objArrayOop_field(RegisterSaveLayout, registers, "[Lcom/oracle/graal/api/code/Register;") \ |
170 typeArrayOop_field(RegisterSaveLayout, slots, "[I") \ | 168 typeArrayOop_field(RegisterSaveLayout, slots, "[I") \ |
171 end_class \ | 169 end_class \ |
254 end_class \ | 252 end_class \ |
255 start_class(SpeculationLog) \ | 253 start_class(SpeculationLog) \ |
256 oop_field(SpeculationLog, lastFailed, "Ljava/lang/Object;") \ | 254 oop_field(SpeculationLog, lastFailed, "Ljava/lang/Object;") \ |
257 end_class \ | 255 end_class \ |
258 start_class(HotSpotStackFrameReference) \ | 256 start_class(HotSpotStackFrameReference) \ |
259 oop_field(HotSpotStackFrameReference, compilerToVM, "Lcom/oracle/graal/hotspot/bridge/CompilerToVM;") \ | 257 oop_field(HotSpotStackFrameReference, compilerToVM, "Lcom/oracle/graal/hotspot/jvmci/CompilerToVM;") \ |
260 long_field(HotSpotStackFrameReference, stackPointer) \ | 258 long_field(HotSpotStackFrameReference, stackPointer) \ |
261 int_field(HotSpotStackFrameReference, frameNumber) \ | 259 int_field(HotSpotStackFrameReference, frameNumber) \ |
262 int_field(HotSpotStackFrameReference, bci) \ | 260 int_field(HotSpotStackFrameReference, bci) \ |
263 long_field(HotSpotStackFrameReference, metaspaceMethod) \ | 261 long_field(HotSpotStackFrameReference, metaspaceMethod) \ |
264 objArrayOop_field(HotSpotStackFrameReference, locals, "[Ljava/lang/Object;") \ | 262 objArrayOop_field(HotSpotStackFrameReference, locals, "[Ljava/lang/Object;") \ |