59 InstanceKlass* ik = field_holder();
60 ik->field(index())->set_access_flags(_access_flags.as_short());
61 }
62
63 inline void fieldDescriptor::set_is_field_access_watched(const bool value) {
64 _access_flags.set_is_field_access_watched(value);
65 update_klass_field_access_flag();
66 }
67
68 inline void fieldDescriptor::set_is_field_modification_watched(const bool value) {
69 _access_flags.set_is_field_modification_watched(value);
70 update_klass_field_access_flag();
71 }
72
73 inline void fieldDescriptor::set_has_initialized_final_update(const bool value) {
74 _access_flags.set_has_field_initialized_final_update(value);
75 update_klass_field_access_flag();
76 }
77
78 inline BasicType fieldDescriptor::field_type() const {
79 return FieldType::basic_type(signature());
80 }
81
82 #endif // SHARE_RUNTIME_FIELDDESCRIPTOR_INLINE_HPP
|
59 InstanceKlass* ik = field_holder();
60 ik->field(index())->set_access_flags(_access_flags.as_short());
61 }
62
63 inline void fieldDescriptor::set_is_field_access_watched(const bool value) {
64 _access_flags.set_is_field_access_watched(value);
65 update_klass_field_access_flag();
66 }
67
68 inline void fieldDescriptor::set_is_field_modification_watched(const bool value) {
69 _access_flags.set_is_field_modification_watched(value);
70 update_klass_field_access_flag();
71 }
72
73 inline void fieldDescriptor::set_has_initialized_final_update(const bool value) {
74 _access_flags.set_has_field_initialized_final_update(value);
75 update_klass_field_access_flag();
76 }
77
78 inline BasicType fieldDescriptor::field_type() const {
79 return Signature::basic_type(signature());
80 }
81
82 #endif // SHARE_RUNTIME_FIELDDESCRIPTOR_INLINE_HPP
|