< prev index next >

src/hotspot/share/classfile/classFileParser.cpp

Print this page
rev 63318 : Optimize Runtime::deepSizeOf native field count

*** 5309,5318 **** --- 5309,5319 ---- // Not yet: supers are done below to support the new subtype-checking fields ik->set_nonstatic_field_size(_field_info->_nonstatic_field_size); ik->set_has_nonstatic_fields(_field_info->_has_nonstatic_fields); assert(_fac != NULL, "invariant"); ik->set_static_oop_field_count(_fac->count[STATIC_OOP]); + ik->set_nonstatic_oop_field_count(_fac->count[NONSTATIC_OOP]); // this transfers ownership of a lot of arrays from // the parser onto the InstanceKlass* apply_parsed_class_metadata(ik, _java_fields_count, CHECK);
< prev index next >