< prev index next >

hotspot/src/share/vm/oops/instanceKlass.hpp

Print this page

        

*** 211,224 **** bool _is_marked_dependent; // used for marking during flushing and deoptimization public: enum { _extra_is_being_redefined = 1 << 0, // used for locking redefinition ! _extra_has_value_fields = 1 << 1, // has value fields and related embedded section is not empty ! _extra_is_bufferable = 1 << 2, // value can be buffered out side of the Java heap ! _extra_has_vcc_klass = 1 << 3, // has a pointer to its Value Capable Class (MVT) ! _extra_has_resolved_methods = 1 << 4 // resolved methods table entries added for this class }; protected: u1 _extra_flags; --- 211,225 ---- bool _is_marked_dependent; // used for marking during flushing and deoptimization public: enum { _extra_is_being_redefined = 1 << 0, // used for locking redefinition ! _extra_has_resolved_methods = 1 << 1, // resolved methods table entries added for this class ! _extra_has_value_fields = 1 << 2, // has value fields and related embedded section is not empty ! _extra_is_bufferable = 1 << 3, // value can be buffered out side of the Java heap ! _extra_has_vcc_klass = 1 << 4, // has a pointer to its Value Capable Class (MVT) ! _extra_has_vcc_annotation = 1 << 5 }; protected: u1 _extra_flags;
*** 397,406 **** --- 398,414 ---- } void set_has_vcc_klass() { _extra_flags |= _extra_has_vcc_klass; } + bool has_vcc_annotation() const { + return (_extra_flags &_extra_has_vcc_annotation) != 0; + } + + void set_has_vcc_annotation() { + _extra_flags |= _extra_has_vcc_annotation; + } // field sizes int nonstatic_field_size() const { return _nonstatic_field_size; } void set_nonstatic_field_size(int size) { _nonstatic_field_size = size; }
< prev index next >