Mercurial > hg > graal-jvmci-8
comparison 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 |
comparison
equal
deleted
inserted
replaced
6069:03d61caacd1e | 6100:71afdabfd05b |
---|---|
2761 class_size += ik->methods()->size(); | 2761 class_size += ik->methods()->size(); |
2762 class_size += ik->constants()->size(); | 2762 class_size += ik->constants()->size(); |
2763 class_size += ik->local_interfaces()->size(); | 2763 class_size += ik->local_interfaces()->size(); |
2764 class_size += ik->transitive_interfaces()->size(); | 2764 class_size += ik->transitive_interfaces()->size(); |
2765 // We do not have to count implementors, since we only store one! | 2765 // We do not have to count implementors, since we only store one! |
2766 class_size += ik->all_fields_count() * FieldInfo::field_slots; | 2766 class_size += ik->fields()->length(); |
2767 } | 2767 } |
2768 } | 2768 } |
2769 | 2769 |
2770 static void do_method(methodOop m) { | 2770 static void do_method(methodOop m) { |
2771 nmethods++; | 2771 nmethods++; |