equal
deleted
inserted
replaced
224 macro(java_lang_Class, signers, object_signature, false) |
224 macro(java_lang_Class, signers, object_signature, false) |
225 |
225 |
226 class java_lang_Class : AllStatic { |
226 class java_lang_Class : AllStatic { |
227 friend class VMStructs; |
227 friend class VMStructs; |
228 |
228 |
229 enum { |
|
230 hc_resolvedReferences_offset = 12 |
|
231 }; |
|
232 |
|
233 private: |
229 private: |
234 // The fake offsets are added by the class loader when java.lang.Class is loaded |
230 // The fake offsets are added by the class loader when java.lang.Class is loaded |
235 |
231 |
236 static int _klass_offset; |
232 static int _klass_offset; |
237 static int _array_klass_offset; |
233 static int _array_klass_offset; |
245 static int _class_loader_offset; |
241 static int _class_loader_offset; |
246 static int _component_mirror_offset; |
242 static int _component_mirror_offset; |
247 |
243 |
248 static bool offsets_computed; |
244 static bool offsets_computed; |
249 static int classRedefinedCount_offset; |
245 static int classRedefinedCount_offset; |
250 static int resolvedReferences_offset; |
|
251 |
246 |
252 static GrowableArray<Klass*>* _fixup_mirror_list; |
247 static GrowableArray<Klass*>* _fixup_mirror_list; |
253 |
248 |
254 static void set_init_lock(oop java_class, oop init_lock); |
249 static void set_init_lock(oop java_class, oop init_lock); |
255 static void set_protection_domain(oop java_class, oop protection_domain); |
250 static void set_protection_domain(oop java_class, oop protection_domain); |
303 |
298 |
304 static int oop_size(oop java_class); |
299 static int oop_size(oop java_class); |
305 static void set_oop_size(oop java_class, int size); |
300 static void set_oop_size(oop java_class, int size); |
306 static int static_oop_field_count(oop java_class); |
301 static int static_oop_field_count(oop java_class); |
307 static void set_static_oop_field_count(oop java_class, int size); |
302 static void set_static_oop_field_count(oop java_class, int size); |
308 |
|
309 static objArrayOop resolved_references(oop java_class); |
|
310 static void set_resolved_references(oop java_class, objArrayOop a); |
|
311 static int resolved_references_offset_in_bytes() { return resolvedReferences_offset; } |
|
312 |
303 |
313 static GrowableArray<Klass*>* fixup_mirror_list() { |
304 static GrowableArray<Klass*>* fixup_mirror_list() { |
314 return _fixup_mirror_list; |
305 return _fixup_mirror_list; |
315 } |
306 } |
316 static void set_fixup_mirror_list(GrowableArray<Klass*>* v) { |
307 static void set_fixup_mirror_list(GrowableArray<Klass*>* v) { |