Mercurial > hg > graal-compiler
comparison src/share/vm/c1x/c1x_VMEntries.hpp @ 1422:3483ec571caf
* using reflected objects instead of oops
* removed scratch from allocatable registers
* instanceof xir snippet
* arraylength xir snippet
* exceptionobject xir snippet
* VMEntries and VMExits as interfaces
* calls to VMEntries and VMExits are routet through logging proxies
author | Lukas Stadler <lukas.stadler@oracle.com> |
---|---|
date | Mon, 02 Aug 2010 15:44:38 -0700 |
parents | 6223633ce7dd |
children | 760213a60e8b |
comparison
equal
deleted
inserted
replaced
1421:6223633ce7dd | 1422:3483ec571caf |
---|---|
31 #endif | 31 #endif |
32 | 32 |
33 /* | 33 /* |
34 * Class: com_sun_hotspot_c1x_VMEntries | 34 * Class: com_sun_hotspot_c1x_VMEntries |
35 * Method: RiMethod_code | 35 * Method: RiMethod_code |
36 * Signature: (Ljava/lang/Object;)[B | 36 * Signature: (Ljava/lang/reflect/Method;)[B |
37 */ | 37 */ |
38 JNIEXPORT jbyteArray JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiMethod_1code | 38 JNIEXPORT jbyteArray JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiMethod_1code |
39 (JNIEnv *, jobject, jobject); | 39 (JNIEnv *, jobject, jobject); |
40 | 40 |
41 /* | 41 /* |
42 * Class: com_sun_hotspot_c1x_VMEntries | 42 * Class: com_sun_hotspot_c1x_VMEntries |
43 * Method: RiMethod_maxStackSize | 43 * Method: RiMethod_maxStackSize |
44 * Signature: (Ljava/lang/Object;)I | 44 * Signature: (Ljava/lang/reflect/Method;)I |
45 */ | 45 */ |
46 JNIEXPORT jint JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiMethod_1maxStackSize | 46 JNIEXPORT jint JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiMethod_1maxStackSize |
47 (JNIEnv *, jobject, jobject); | 47 (JNIEnv *, jobject, jobject); |
48 | 48 |
49 /* | 49 /* |
50 * Class: com_sun_hotspot_c1x_VMEntries | 50 * Class: com_sun_hotspot_c1x_VMEntries |
51 * Method: RiMethod_maxLocals | 51 * Method: RiMethod_maxLocals |
52 * Signature: (Ljava/lang/Object;)I | 52 * Signature: (Ljava/lang/reflect/Method;)I |
53 */ | 53 */ |
54 JNIEXPORT jint JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiMethod_1maxLocals | 54 JNIEXPORT jint JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiMethod_1maxLocals |
55 (JNIEnv *, jobject, jobject); | 55 (JNIEnv *, jobject, jobject); |
56 | 56 |
57 | |
58 /* | 57 /* |
59 * Class: com_sun_hotspot_c1x_VMEntries | 58 * Class: com_sun_hotspot_c1x_VMEntries |
60 * Method: RiMethod_holder | 59 * Method: RiMethod_holder |
61 * Signature: (Ljava/lang/Object;)Lcom/sun/cri/ri/RiType; | 60 * Signature: (Ljava/lang/reflect/Method;)Lcom/sun/cri/ri/RiType; |
62 */ | 61 */ |
63 JNIEXPORT jobject JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiMethod_1holder | 62 JNIEXPORT jobject JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiMethod_1holder |
64 (JNIEnv *, jobject, jobject); | 63 (JNIEnv *, jobject, jobject); |
65 | 64 |
66 /* | 65 /* |
67 * Class: com_sun_hotspot_c1x_VMEntries | 66 * Class: com_sun_hotspot_c1x_VMEntries |
68 * Method: RiMethod_signature | 67 * Method: RiMethod_signature |
69 * Signature: (Ljava/lang/Object;)Lcom/sun/cri/ri/RiSignature; | 68 * Signature: (Ljava/lang/reflect/Method;)Lcom/sun/cri/ri/RiSignature; |
70 */ | 69 */ |
71 JNIEXPORT jstring JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiMethod_1signature | 70 JNIEXPORT jstring JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiMethod_1signature |
72 (JNIEnv *, jobject, jobject); | 71 (JNIEnv *, jobject, jobject); |
73 | 72 |
74 /* | 73 /* |
75 * Class: com_sun_hotspot_c1x_VMEntries | 74 * Class: com_sun_hotspot_c1x_VMEntries |
76 * Method: RiMethod_name | 75 * Method: RiMethod_name |
77 * Signature: (Ljava/lang/Object;)Ljava/lang/String; | 76 * Signature: (Ljava/lang/reflect/Method;)Ljava/lang/String; |
78 */ | 77 */ |
79 JNIEXPORT jstring JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiMethod_1name | 78 JNIEXPORT jstring JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiMethod_1name |
80 (JNIEnv *, jobject, jobject); | 79 (JNIEnv *, jobject, jobject); |
80 | |
81 /* | |
82 * Class: com_sun_hotspot_c1x_VMEntries | |
83 * Method: RiMethod_accessFlags | |
84 * Signature: (Ljava/lang/reflect/Method;)I | |
85 */ | |
86 JNIEXPORT jint JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiMethod_1accessFlags | |
87 (JNIEnv *, jobject, jobject); | |
81 | 88 |
82 /* | 89 /* |
83 * Class: com_sun_hotspot_c1x_VMEntries | 90 * Class: com_sun_hotspot_c1x_VMEntries |
84 * Method: RiSignature_lookupType | 91 * Method: RiSignature_lookupType |
85 * Signature: (Ljava/lang/String;Lcom/sun/cri/ri/RiType;)Lcom/sun/cri/ri/RiType; | 92 * Signature: (Ljava/lang/String;Lcom/sun/cri/ri/RiType;)Lcom/sun/cri/ri/RiType; |
152 JNIEXPORT jobject JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiConstantPool_1lookupField | 159 JNIEXPORT jobject JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiConstantPool_1lookupField |
153 (JNIEnv *, jobject, jobject, jint); | 160 (JNIEnv *, jobject, jobject, jint); |
154 | 161 |
155 /* | 162 /* |
156 * Class: com_sun_hotspot_c1x_VMEntries | 163 * Class: com_sun_hotspot_c1x_VMEntries |
157 * Method: findRiType | |
158 * Signature: (Ljava/lang/Object;)Lcom/sun/cri/ri/RiType; | |
159 */ | |
160 JNIEXPORT jobject JNICALL Java_com_sun_hotspot_c1x_VMEntries_findRiType | |
161 (JNIEnv *, jobject, jobject); | |
162 | |
163 /* | |
164 * Class: com_sun_hotspot_c1x_VMEntries | |
165 * Method: RiRuntime_getConstantPool | |
166 * Signature: (Ljava/lang/Object;)Lcom/sun/cri/ri/RiConstantPool; | |
167 */ | |
168 JNIEXPORT jobject JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiRuntime_1getConstantPool | |
169 (JNIEnv *, jobject, jobject); | |
170 | |
171 /* | |
172 * Class: com_sun_hotspot_c1x_VMEntries | |
173 * Method: RiType_isArrayClass | 164 * Method: RiType_isArrayClass |
174 * Signature: (Ljava/lang/Object;)Z | 165 * Signature: (Ljava/lang/Object;)Z |
175 */ | 166 */ |
176 JNIEXPORT jboolean JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiType_1isArrayClass | 167 JNIEXPORT jboolean JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiType_1isArrayClass |
177 (JNIEnv *, jobject, jobject); | 168 (JNIEnv *, jobject, jobject); |
192 JNIEXPORT jboolean JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiType_1isInterface | 183 JNIEXPORT jboolean JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiType_1isInterface |
193 (JNIEnv *, jobject, jobject); | 184 (JNIEnv *, jobject, jobject); |
194 | 185 |
195 /* | 186 /* |
196 * Class: com_sun_hotspot_c1x_VMEntries | 187 * Class: com_sun_hotspot_c1x_VMEntries |
197 * Method: RiMethod_accessFlags | |
198 * Signature: (Ljava/lang/Object;)I | |
199 */ | |
200 JNIEXPORT jint JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiMethod_1accessFlags | |
201 (JNIEnv *, jobject, jobject); | |
202 | |
203 /* | |
204 * Class: com_sun_hotspot_c1x_VMEntries | |
205 * Method: installCode | 188 * Method: installCode |
206 * Signature: (Lcom/sun/hotspot/c1x/HotSpotTargetMethod;)V | 189 * Signature: (Lcom/sun/hotspot/c1x/HotSpotTargetMethod;)V |
207 */ | 190 */ |
208 JNIEXPORT void JNICALL Java_com_sun_hotspot_c1x_VMEntries_installCode | 191 JNIEXPORT void JNICALL Java_com_sun_hotspot_c1x_VMEntries_installCode |
209 (JNIEnv *, jobject, jobject); | 192 (JNIEnv *, jobject, jobject); |