hotspot/src/share/vm/classfile/systemDictionary.cpp
changeset 12772 d317e5e08194
parent 12623 09fcb0dc71ad
child 13282 9872915dd78d
child 13195 be27e1b6a4b9
--- a/hotspot/src/share/vm/classfile/systemDictionary.cpp	Fri May 18 14:57:28 2012 -0700
+++ b/hotspot/src/share/vm/classfile/systemDictionary.cpp	Mon May 21 14:10:35 2012 -0400
@@ -2763,7 +2763,7 @@
       class_size += ik->local_interfaces()->size();
       class_size += ik->transitive_interfaces()->size();
       // We do not have to count implementors, since we only store one!
-      class_size += ik->all_fields_count() * FieldInfo::field_slots;
+      class_size += ik->fields()->length();
     }
   }