Mercurial > hg > graal-jvmci-8
diff src/share/vm/classfile/systemDictionary.cpp @ 6100:71afdabfd05b
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
Summary: Only allocate the generic signature index slot in the field array for field with generic signature attribute.
Reviewed-by: coleenp, dlong
author | jiangli |
---|---|
date | Mon, 21 May 2012 14:10:35 -0400 |
parents | 8f972594effc |
children | d2a62e0f25eb 8150fa46d2ed |
line wrap: on
line diff
--- a/src/share/vm/classfile/systemDictionary.cpp Fri May 18 14:57:28 2012 -0700 +++ b/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(); } }