Mercurial > hg > truffle
diff src/share/vm/runtime/fieldDescriptor.hpp @ 6176:634b8615a6ba
7177409: Perf regression in JVM_GetClassDeclaredFields after generic signature changes.
Summary: In fieldDescriptor::generic_signature() returns NULL immediately if the field has no generic signature.
Reviewed-by: dholmes, coleenp, jcoomes
author | jiangli |
---|---|
date | Fri, 22 Jun 2012 14:00:39 -0400 |
parents | 71afdabfd05b |
children | 1d7922586cf6 |
line wrap: on
line diff
--- a/src/share/vm/runtime/fieldDescriptor.hpp Tue Jun 19 21:16:20 2012 -0700 +++ b/src/share/vm/runtime/fieldDescriptor.hpp Fri Jun 22 14:00:39 2012 -0400 @@ -100,6 +100,7 @@ bool is_field_access_watched() const { return access_flags().is_field_access_watched(); } bool is_field_modification_watched() const { return access_flags().is_field_modification_watched(); } + bool has_generic_signature() const { return access_flags().field_has_generic_signature(); } void set_is_field_access_watched(const bool value) { _access_flags.set_is_field_access_watched(value);