Mercurial > hg > graal-jvmci-8
comparison src/share/vm/graal/graalJavaAccess.hpp @ 5275:290b3025b66f
added support for disassembling code after installation (so that the result of patching and relocation can be seen)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 23 Apr 2012 15:49:11 +0200 |
parents | 51111665eda6 |
children | a53162ca8219 |
comparison
equal
deleted
inserted
replaced
5274:e72dd6533eb9 | 5275:290b3025b66f |
---|---|
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/Compiler;") \ | 49 oop_field(HotSpotTypeResolved, compiler, "Lcom/oracle/graal/hotspot/Compiler;") \ |
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) \ |
57 boolean_field(HotSpotTypeResolved, isInstanceClass) \ | 57 boolean_field(HotSpotTypeResolved, isInstanceClass) \ |
58 boolean_field(HotSpotTypeResolved, isInterface) \ | 58 boolean_field(HotSpotTypeResolved, isInterface) \ |
59 int_field(HotSpotTypeResolved, instanceSize) \ | 59 int_field(HotSpotTypeResolved, instanceSize) \ |
60 end_class \ | 60 end_class \ |
61 start_class(HotSpotMethodResolved) \ | 61 start_class(HotSpotMethodResolved) \ |
62 oop_field(HotSpotMethodResolved, compiler, "Lcom/oracle/graal/hotspot/Compiler;") \ | 62 oop_field(HotSpotMethodResolved, compiler, "Lcom/oracle/graal/hotspot/Compiler;") \ |
63 oop_field(HotSpotMethodResolved, name, "Ljava/lang/String;") \ | 63 oop_field(HotSpotMethodResolved, name, "Ljava/lang/String;") \ |
64 oop_field(HotSpotMethodResolved, holder, "Lcom/oracle/max/cri/ri/RiResolvedType;") \ | 64 oop_field(HotSpotMethodResolved, holder, "Lcom/oracle/max/cri/ri/RiResolvedType;") \ |
65 oop_field(HotSpotMethodResolved, javaMirror, "Ljava/lang/Object;") \ | 65 oop_field(HotSpotMethodResolved, javaMirror, "Ljava/lang/Object;") \ |
66 int_field(HotSpotMethodResolved, codeSize) \ | 66 int_field(HotSpotMethodResolved, codeSize) \ |
67 int_field(HotSpotMethodResolved, accessFlags) \ | 67 int_field(HotSpotMethodResolved, accessFlags) \ |
68 int_field(HotSpotMethodResolved, maxLocals) \ | 68 int_field(HotSpotMethodResolved, maxLocals) \ |
69 int_field(HotSpotMethodResolved, maxStackSize) \ | 69 int_field(HotSpotMethodResolved, maxStackSize) \ |
70 boolean_field(HotSpotMethodResolved, canBeInlined) \ | 70 boolean_field(HotSpotMethodResolved, canBeInlined) \ |
71 end_class \ | 71 end_class \ |
72 start_class(HotSpotMethodData) \ | 72 start_class(HotSpotMethodData) \ |
73 oop_field(HotSpotMethodData, compiler, "Lcom/oracle/graal/hotspot/Compiler;") \ | 73 oop_field(HotSpotMethodData, compiler, "Lcom/oracle/graal/hotspot/Compiler;") \ |
74 oop_field(HotSpotMethodData, hotspotMirror, "Ljava/lang/Object;") \ | 74 oop_field(HotSpotMethodData, hotspotMirror, "Ljava/lang/Object;") \ |
75 int_field(HotSpotMethodData, normalDataSize) \ | 75 int_field(HotSpotMethodData, normalDataSize) \ |
76 int_field(HotSpotMethodData, extraDataSize) \ | 76 int_field(HotSpotMethodData, extraDataSize) \ |
77 end_class \ | 77 end_class \ |
78 start_class(HotSpotType) \ | 78 start_class(HotSpotType) \ |
82 oop_field(HotSpotField, constant, "Lcom/oracle/max/cri/ci/CiConstant;") \ | 82 oop_field(HotSpotField, constant, "Lcom/oracle/max/cri/ci/CiConstant;") \ |
83 int_field(HotSpotField, offset) \ | 83 int_field(HotSpotField, offset) \ |
84 int_field(HotSpotField, accessFlags) \ | 84 int_field(HotSpotField, accessFlags) \ |
85 end_class \ | 85 end_class \ |
86 start_class(HotSpotCompiledMethod) \ | 86 start_class(HotSpotCompiledMethod) \ |
87 oop_field(HotSpotCompiledMethod, compiler, "Lcom/oracle/graal/hotspot/Compiler;") \ | 87 oop_field(HotSpotCompiledMethod, compiler, "Lcom/oracle/graal/hotspot/Compiler;") \ |
88 long_field(HotSpotCompiledMethod, nmethod) \ | 88 long_field(HotSpotCompiledMethod, nmethod) \ |
89 oop_field(HotSpotCompiledMethod, method, "Lcom/oracle/max/cri/ri/RiResolvedMethod;") \ | 89 oop_field(HotSpotCompiledMethod, method, "Lcom/oracle/max/cri/ri/RiResolvedMethod;")\ |
90 end_class \ | |
91 start_class(HotSpotCodeInfo) \ | |
92 long_field(HotSpotCodeInfo, start) \ | |
93 oop_field(HotSpotCodeInfo, code, "[B") \ | |
90 end_class \ | 94 end_class \ |
91 start_class(HotSpotProxy) \ | 95 start_class(HotSpotProxy) \ |
92 static_oop_field(HotSpotProxy, DUMMY_CONSTANT_OBJ, "Ljava/lang/Long;") \ | 96 static_oop_field(HotSpotProxy, DUMMY_CONSTANT_OBJ, "Ljava/lang/Long;") \ |
93 end_class \ | 97 end_class \ |
94 start_class(HotSpotTargetMethod) \ | 98 start_class(HotSpotTargetMethod) \ |