Mercurial > hg > truffle
comparison src/share/vm/classfile/javaClasses.hpp @ 13479:606959535fd4
remove Graal mirror from Class
author | twisti |
---|---|
date | Wed, 25 Dec 2013 20:27:59 -0800 |
parents | 359f7e70ae7f |
children | d8041d695d19 |
comparison
equal
deleted
inserted
replaced
13478:fe03864a2c72 | 13479:606959535fd4 |
---|---|
205 | 205 |
206 // Interface to java.lang.Class objects | 206 // Interface to java.lang.Class objects |
207 | 207 |
208 #define CLASS_INJECTED_FIELDS(macro) \ | 208 #define CLASS_INJECTED_FIELDS(macro) \ |
209 macro(java_lang_Class, klass, intptr_signature, false) \ | 209 macro(java_lang_Class, klass, intptr_signature, false) \ |
210 GRAAL_ONLY(macro(java_lang_Class, graal_mirror, object_signature, false))\ | |
211 macro(java_lang_Class, array_klass, intptr_signature, false) \ | 210 macro(java_lang_Class, array_klass, intptr_signature, false) \ |
212 macro(java_lang_Class, oop_size, int_signature, false) \ | 211 macro(java_lang_Class, oop_size, int_signature, false) \ |
213 macro(java_lang_Class, static_oop_field_count, int_signature, false) \ | 212 macro(java_lang_Class, static_oop_field_count, int_signature, false) \ |
214 macro(java_lang_Class, protection_domain, object_signature, false) \ | 213 macro(java_lang_Class, protection_domain, object_signature, false) \ |
215 macro(java_lang_Class, init_lock, object_signature, false) \ | 214 macro(java_lang_Class, init_lock, object_signature, false) \ |
224 static int _klass_offset; | 223 static int _klass_offset; |
225 static int _array_klass_offset; | 224 static int _array_klass_offset; |
226 | 225 |
227 static int _oop_size_offset; | 226 static int _oop_size_offset; |
228 static int _static_oop_field_count_offset; | 227 static int _static_oop_field_count_offset; |
229 #ifdef GRAAL | |
230 static int _graal_mirror_offset; | |
231 #endif | |
232 | 228 |
233 static int _protection_domain_offset; | 229 static int _protection_domain_offset; |
234 static int _init_lock_offset; | 230 static int _init_lock_offset; |
235 static int _signers_offset; | 231 static int _signers_offset; |
236 | 232 |
284 | 280 |
285 static int oop_size(oop java_class); | 281 static int oop_size(oop java_class); |
286 static void set_oop_size(oop java_class, int size); | 282 static void set_oop_size(oop java_class, int size); |
287 static int static_oop_field_count(oop java_class); | 283 static int static_oop_field_count(oop java_class); |
288 static void set_static_oop_field_count(oop java_class, int size); | 284 static void set_static_oop_field_count(oop java_class, int size); |
289 | |
290 #ifdef GRAAL | |
291 static oop graal_mirror(oop java_class); | |
292 static int graal_mirror_offset_in_bytes() { return _graal_mirror_offset; } | |
293 #endif | |
294 | 285 |
295 static GrowableArray<Klass*>* fixup_mirror_list() { | 286 static GrowableArray<Klass*>* fixup_mirror_list() { |
296 return _fixup_mirror_list; | 287 return _fixup_mirror_list; |
297 } | 288 } |
298 static void set_fixup_mirror_list(GrowableArray<Klass*>* v) { | 289 static void set_fixup_mirror_list(GrowableArray<Klass*>* v) { |