comparison src/share/vm/classfile/classFileParser.hpp @ 2376:c7f3d0b4570f

7017732: move static fields into Class to prepare for perm gen removal Reviewed-by: kvn, coleenp, twisti, stefank
author never
date Fri, 18 Mar 2011 16:00:34 -0700
parents 8033953d67ff
children 38fea01eb669
comparison
equal deleted inserted replaced
2375:d673ef06fe96 2376:c7f3d0b4570f
152 152
153 // Special handling for certain classes. 153 // Special handling for certain classes.
154 // Add the "discovered" field to java.lang.ref.Reference if 154 // Add the "discovered" field to java.lang.ref.Reference if
155 // it does not exist. 155 // it does not exist.
156 void java_lang_ref_Reference_fix_pre(typeArrayHandle* fields_ptr, 156 void java_lang_ref_Reference_fix_pre(typeArrayHandle* fields_ptr,
157 constantPoolHandle cp, FieldAllocationCount *fac_ptr, TRAPS); 157 constantPoolHandle cp,
158 FieldAllocationCount *fac_ptr, TRAPS);
158 // Adjust the field allocation counts for java.lang.Class to add 159 // Adjust the field allocation counts for java.lang.Class to add
159 // fake fields. 160 // fake fields.
160 void java_lang_Class_fix_pre(objArrayHandle* methods_ptr, 161 void java_lang_Class_fix_pre(int* nonstatic_field_size,
161 FieldAllocationCount *fac_ptr, TRAPS); 162 FieldAllocationCount *fac_ptr);
162 // Adjust the next_nonstatic_oop_offset to place the fake fields 163 // Adjust the next_nonstatic_oop_offset to place the fake fields
163 // before any Java fields. 164 // before any Java fields.
164 void java_lang_Class_fix_post(int* next_nonstatic_oop_offset); 165 void java_lang_Class_fix_post(int* next_nonstatic_oop_offset);
165 // Adjust the field allocation counts for java.lang.invoke.MethodHandle to add 166 // Adjust the field allocation counts for java.lang.invoke.MethodHandle to add
166 // a fake address (void*) field. 167 // a fake address (void*) field.