Mercurial > hg > graal-jvmci-8
comparison src/share/vm/c1x/c1x_VMEntries.hpp @ 1423:760213a60e8b
* rewrite of the code installation
* partial support for safepoints
* macro-based CiTargetMethod interface
* code stub support
author | Lukas Stadler <lukas.stadler@oracle.com> |
---|---|
date | Mon, 16 Aug 2010 18:59:36 -0700 |
parents | 3483ec571caf |
children | 72cfb36c6bb2 |
comparison
equal
deleted
inserted
replaced
1422:3483ec571caf | 1423:760213a60e8b |
---|---|
20 * CA 95054 USA or visit www.sun.com if you need additional information or | 20 * CA 95054 USA or visit www.sun.com if you need additional information or |
21 * have any questions. | 21 * have any questions. |
22 * | 22 * |
23 */ | 23 */ |
24 | 24 |
25 #define CC (char*) /*cast a literal from (const char*)*/ | 25 extern JNINativeMethod VMEntries_methods[]; |
26 #define FN_PTR(f) CAST_FROM_FN_PTR(void*, &f) | 26 int VMEntries_methods_count(); |
27 | |
28 #ifdef SOLARIS | |
29 #define JNIEXPORT | |
30 #define JNICALL | |
31 #endif | |
32 | |
33 /* | |
34 * Class: com_sun_hotspot_c1x_VMEntries | |
35 * Method: RiMethod_code | |
36 * Signature: (Ljava/lang/reflect/Method;)[B | |
37 */ | |
38 JNIEXPORT jbyteArray JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiMethod_1code | |
39 (JNIEnv *, jobject, jobject); | |
40 | |
41 /* | |
42 * Class: com_sun_hotspot_c1x_VMEntries | |
43 * Method: RiMethod_maxStackSize | |
44 * Signature: (Ljava/lang/reflect/Method;)I | |
45 */ | |
46 JNIEXPORT jint JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiMethod_1maxStackSize | |
47 (JNIEnv *, jobject, jobject); | |
48 | |
49 /* | |
50 * Class: com_sun_hotspot_c1x_VMEntries | |
51 * Method: RiMethod_maxLocals | |
52 * Signature: (Ljava/lang/reflect/Method;)I | |
53 */ | |
54 JNIEXPORT jint JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiMethod_1maxLocals | |
55 (JNIEnv *, jobject, jobject); | |
56 | |
57 /* | |
58 * Class: com_sun_hotspot_c1x_VMEntries | |
59 * Method: RiMethod_holder | |
60 * Signature: (Ljava/lang/reflect/Method;)Lcom/sun/cri/ri/RiType; | |
61 */ | |
62 JNIEXPORT jobject JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiMethod_1holder | |
63 (JNIEnv *, jobject, jobject); | |
64 | |
65 /* | |
66 * Class: com_sun_hotspot_c1x_VMEntries | |
67 * Method: RiMethod_signature | |
68 * Signature: (Ljava/lang/reflect/Method;)Lcom/sun/cri/ri/RiSignature; | |
69 */ | |
70 JNIEXPORT jstring JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiMethod_1signature | |
71 (JNIEnv *, jobject, jobject); | |
72 | |
73 /* | |
74 * Class: com_sun_hotspot_c1x_VMEntries | |
75 * Method: RiMethod_name | |
76 * Signature: (Ljava/lang/reflect/Method;)Ljava/lang/String; | |
77 */ | |
78 JNIEXPORT jstring JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiMethod_1name | |
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); | |
88 | |
89 /* | |
90 * Class: com_sun_hotspot_c1x_VMEntries | |
91 * Method: RiSignature_lookupType | |
92 * Signature: (Ljava/lang/String;Lcom/sun/cri/ri/RiType;)Lcom/sun/cri/ri/RiType; | |
93 */ | |
94 JNIEXPORT jobject JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiSignature_1lookupType | |
95 (JNIEnv *, jobject, jstring, jobject); | |
96 | |
97 /* | |
98 * Class: com_sun_hotspot_c1x_VMEntries | |
99 * Method: RiSignature_symbolToString | |
100 * Signature: (Ljava/lang/Object;)Ljava/lang/String; | |
101 */ | |
102 JNIEXPORT jstring JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiSignature_1symbolToString | |
103 (JNIEnv *, jobject, jobject); | |
104 | |
105 /* | |
106 * Class: com_sun_hotspot_c1x_VMEntries | |
107 * Method: RiType_javaClass | |
108 * Signature: (Ljava/lang/Object;)Ljava/lang/Class; | |
109 */ | |
110 JNIEXPORT jclass JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiType_1javaClass | |
111 (JNIEnv *, jobject, jobject); | |
112 | |
113 /* | |
114 * Class: com_sun_hotspot_c1x_VMEntries | |
115 * Method: RiType_name | |
116 * Signature: (Ljava/lang/Object;)Ljava/lang/String; | |
117 */ | |
118 JNIEXPORT jstring JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiType_1name | |
119 (JNIEnv *, jobject, jobject); | |
120 | 27 |
121 | 28 |
122 /* | |
123 * Class: com_sun_hotspot_c1x_VMEntries | |
124 * Method: RiConstantPool_lookupConstant | |
125 * Signature: (Ljava/lang/Object;I)Ljava/lang/Object; | |
126 */ | |
127 JNIEXPORT jobject JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiConstantPool_1lookupConstant | |
128 (JNIEnv *, jobject, jobject, jint); | |
129 | |
130 /* | |
131 * Class: com_sun_hotspot_c1x_VMEntries | |
132 * Method: RiConstantPool_lookupMethod | |
133 * Signature: (Ljava/lang/Object;I)Lcom/sun/cri/ri/RiMethod; | |
134 */ | |
135 JNIEXPORT jobject JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiConstantPool_1lookupMethod | |
136 (JNIEnv *, jobject, jobject, jint, jbyte); | |
137 | |
138 /* | |
139 * Class: com_sun_hotspot_c1x_VMEntries | |
140 * Method: RiConstantPool_lookupSignature | |
141 * Signature: (Ljava/lang/Object;I)Lcom/sun/cri/ri/RiSignature; | |
142 */ | |
143 JNIEXPORT jobject JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiConstantPool_1lookupSignature | |
144 (JNIEnv *, jobject, jobject, jint); | |
145 | |
146 /* | |
147 * Class: com_sun_hotspot_c1x_VMEntries | |
148 * Method: RiConstantPool_lookupType | |
149 * Signature: (Ljava/lang/Object;I)Lcom/sun/cri/ri/RiType; | |
150 */ | |
151 JNIEXPORT jobject JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiConstantPool_1lookupType | |
152 (JNIEnv *, jobject, jobject, jint); | |
153 | |
154 /* | |
155 * Class: com_sun_hotspot_c1x_VMEntries | |
156 * Method: RiConstantPool_lookupField | |
157 * Signature: (Ljava/lang/Object;I)Lcom/sun/cri/ri/RiField; | |
158 */ | |
159 JNIEXPORT jobject JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiConstantPool_1lookupField | |
160 (JNIEnv *, jobject, jobject, jint); | |
161 | |
162 /* | |
163 * Class: com_sun_hotspot_c1x_VMEntries | |
164 * Method: RiType_isArrayClass | |
165 * Signature: (Ljava/lang/Object;)Z | |
166 */ | |
167 JNIEXPORT jboolean JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiType_1isArrayClass | |
168 (JNIEnv *, jobject, jobject); | |
169 | |
170 /* | |
171 * Class: com_sun_hotspot_c1x_VMEntries | |
172 * Method: RiType_isInstanceClass | |
173 * Signature: (Ljava/lang/Object;)Z | |
174 */ | |
175 JNIEXPORT jboolean JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiType_1isInstanceClass | |
176 (JNIEnv *, jobject, jobject); | |
177 | |
178 /* | |
179 * Class: com_sun_hotspot_c1x_VMEntries | |
180 * Method: RiType_isInterface | |
181 * Signature: (Ljava/lang/Object;)Z | |
182 */ | |
183 JNIEXPORT jboolean JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiType_1isInterface | |
184 (JNIEnv *, jobject, jobject); | |
185 | |
186 /* | |
187 * Class: com_sun_hotspot_c1x_VMEntries | |
188 * Method: installCode | |
189 * Signature: (Lcom/sun/hotspot/c1x/HotSpotTargetMethod;)V | |
190 */ | |
191 JNIEXPORT void JNICALL Java_com_sun_hotspot_c1x_VMEntries_installCode | |
192 (JNIEnv *, jobject, jobject); | |
193 | |
194 /* | |
195 * Class: com_sun_hotspot_c1x_VMEntries | |
196 * Method: getConfiguration | |
197 * Signature: ()Lcom/sun/hotspot/c1x/HotSpotVMConfig; | |
198 */ | |
199 JNIEXPORT jobject JNICALL Java_com_sun_hotspot_c1x_VMEntries_getConfiguration | |
200 (JNIEnv *, jobject); | |
201 | 29 |
202 | 30 |
203 extern JNINativeMethod VMEntries_methods[]; | |
204 int VMEntries_methods_count(); |