comparison 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
comparison
equal deleted inserted replaced
6175:f7baf26515fc 6176:634b8615a6ba
98 bool is_synthetic() const { return access_flags().is_synthetic(); } 98 bool is_synthetic() const { return access_flags().is_synthetic(); }
99 99
100 bool is_field_access_watched() const { return access_flags().is_field_access_watched(); } 100 bool is_field_access_watched() const { return access_flags().is_field_access_watched(); }
101 bool is_field_modification_watched() const 101 bool is_field_modification_watched() const
102 { return access_flags().is_field_modification_watched(); } 102 { return access_flags().is_field_modification_watched(); }
103 bool has_generic_signature() const { return access_flags().field_has_generic_signature(); }
103 104
104 void set_is_field_access_watched(const bool value) { 105 void set_is_field_access_watched(const bool value) {
105 _access_flags.set_is_field_access_watched(value); 106 _access_flags.set_is_field_access_watched(value);
106 update_klass_field_access_flag(); 107 update_klass_field_access_flag();
107 } 108 }