Mercurial > hg > graal-jvmci-8
comparison src/share/vm/c1x/c1x_TargetMethod.hpp @ 1465:2c754f3a2722
Inlining of static final field values. Java mirror instead of VmID. Support for PrintMetrics option.
author | Thomas Wuerthinger <wuerthinger@ssw.jku.at> |
---|---|
date | Thu, 18 Nov 2010 17:27:43 +0100 |
parents | dc114f680d9c |
children | e4cd5d2de7e1 |
comparison
equal
deleted
inserted
replaced
1463:7bc14f75a077 | 1465:2c754f3a2722 |
---|---|
43 */ | 43 */ |
44 | 44 |
45 #define COMPILER_CLASSES_DO(start_class, end_class, char_field, int_field, boolean_field, long_field, oop_field, static_oop_field) \ | 45 #define COMPILER_CLASSES_DO(start_class, end_class, char_field, int_field, boolean_field, long_field, oop_field, static_oop_field) \ |
46 start_class(HotSpotTypeResolved) \ | 46 start_class(HotSpotTypeResolved) \ |
47 long_field(HotSpotTypeResolved, vmId) \ | 47 long_field(HotSpotTypeResolved, vmId) \ |
48 long_field(HotSpotTypeResolved, javaMirrorVmId) \ | 48 oop_field(HotSpotTypeResolved, javaMirror, "Ljava/lang/Class;") \ |
49 oop_field(HotSpotTypeResolved, name, "Ljava/lang/String;") \ | 49 oop_field(HotSpotTypeResolved, name, "Ljava/lang/String;") \ |
50 int_field(HotSpotTypeResolved, accessFlags) \ | 50 int_field(HotSpotTypeResolved, accessFlags) \ |
51 boolean_field(HotSpotTypeResolved, hasFinalizer) \ | 51 boolean_field(HotSpotTypeResolved, hasFinalizer) \ |
52 boolean_field(HotSpotTypeResolved, hasSubclass) \ | 52 boolean_field(HotSpotTypeResolved, hasSubclass) \ |
53 boolean_field(HotSpotTypeResolved, hasFinalizableSubclass) \ | 53 boolean_field(HotSpotTypeResolved, hasFinalizableSubclass) \ |
56 boolean_field(HotSpotTypeResolved, isInstanceClass) \ | 56 boolean_field(HotSpotTypeResolved, isInstanceClass) \ |
57 boolean_field(HotSpotTypeResolved, isInterface) \ | 57 boolean_field(HotSpotTypeResolved, isInterface) \ |
58 int_field(HotSpotTypeResolved, instanceSize) \ | 58 int_field(HotSpotTypeResolved, instanceSize) \ |
59 oop_field(HotSpotTypeResolved, componentType, "Lcom/sun/cri/ri/RiType;") \ | 59 oop_field(HotSpotTypeResolved, componentType, "Lcom/sun/cri/ri/RiType;") \ |
60 end_class \ | 60 end_class \ |
61 start_class(HotSpotField) \ | |
62 oop_field(HotSpotField, constant, "Lcom/sun/cri/ci/CiConstant;") \ | |
63 end_class \ | |
61 start_class(HotSpotMethodResolved) \ | 64 start_class(HotSpotMethodResolved) \ |
62 long_field(HotSpotMethodResolved, vmId) \ | 65 long_field(HotSpotMethodResolved, vmId) \ |
63 end_class \ | 66 end_class \ |
64 start_class(HotSpotTargetMethod) \ | 67 start_class(HotSpotTargetMethod) \ |
65 oop_field(HotSpotTargetMethod, targetMethod, "Lcom/sun/cri/ci/CiTargetMethod;") \ | 68 oop_field(HotSpotTargetMethod, targetMethod, "Lcom/sun/cri/ci/CiTargetMethod;") \ |
128 oop_field(CiConstant, object, "Ljava/lang/Object;") \ | 131 oop_field(CiConstant, object, "Ljava/lang/Object;") \ |
129 long_field(CiConstant, primitive) \ | 132 long_field(CiConstant, primitive) \ |
130 end_class \ | 133 end_class \ |
131 start_class(CiKind) \ | 134 start_class(CiKind) \ |
132 char_field(CiKind, typeChar) \ | 135 char_field(CiKind, typeChar) \ |
136 static_oop_field(CiKind, Boolean, "Lcom/sun/cri/ci/CiKind;"); \ | |
137 static_oop_field(CiKind, Byte, "Lcom/sun/cri/ci/CiKind;"); \ | |
138 static_oop_field(CiKind, Char, "Lcom/sun/cri/ci/CiKind;"); \ | |
139 static_oop_field(CiKind, Short, "Lcom/sun/cri/ci/CiKind;"); \ | |
140 static_oop_field(CiKind, Int, "Lcom/sun/cri/ci/CiKind;"); \ | |
133 end_class \ | 141 end_class \ |
134 start_class(CiRuntimeCall) \ | 142 start_class(CiRuntimeCall) \ |
135 static_oop_field(CiRuntimeCall, UnwindException, "Lcom/sun/cri/ci/CiRuntimeCall;"); \ | 143 static_oop_field(CiRuntimeCall, UnwindException, "Lcom/sun/cri/ci/CiRuntimeCall;"); \ |
136 static_oop_field(CiRuntimeCall, RegisterFinalizer, "Lcom/sun/cri/ci/CiRuntimeCall;"); \ | 144 static_oop_field(CiRuntimeCall, RegisterFinalizer, "Lcom/sun/cri/ci/CiRuntimeCall;"); \ |
137 static_oop_field(CiRuntimeCall, HandleException, "Lcom/sun/cri/ci/CiRuntimeCall;"); \ | 145 static_oop_field(CiRuntimeCall, HandleException, "Lcom/sun/cri/ci/CiRuntimeCall;"); \ |