Mercurial > hg > graal-jvmci-8
diff src/share/vm/runtime/fieldDescriptor.hpp @ 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 | e6b1331a51d2 |
children | 634b8615a6ba |
line wrap: on
line diff
--- a/src/share/vm/runtime/fieldDescriptor.hpp Fri May 18 14:57:28 2012 -0700 +++ b/src/share/vm/runtime/fieldDescriptor.hpp Mon May 21 14:10:35 2012 -0400 @@ -67,7 +67,7 @@ oop loader() const; // Offset (in words) of field from start of instanceOop / klassOop int offset() const { return field()->offset(); } - Symbol* generic_signature() const { return field()->generic_signature(_cp); } + Symbol* generic_signature() const; int index() const { return _index; } typeArrayOop annotations() const;