src/share/vm/oops/method.hpp

changeset 9291
a2c8195708cc
parent 8997
f8a45a60bc6b
parent 9286
2c4cecfa5ce5
child 9355
792ccf73293a
equal deleted inserted replaced
9284:ff3b27e6bcc2 9291:a2c8195708cc
109 u1 _intrinsic_id; // vmSymbols::intrinsic_id (0 == _none) 109 u1 _intrinsic_id; // vmSymbols::intrinsic_id (0 == _none)
110 u1 _jfr_towrite : 1, // Flags 110 u1 _jfr_towrite : 1, // Flags
111 _caller_sensitive : 1, 111 _caller_sensitive : 1,
112 _force_inline : 1, 112 _force_inline : 1,
113 _hidden : 1, 113 _hidden : 1,
114 _running_emcp : 1,
114 _dont_inline : 1, 115 _dont_inline : 1,
115 _has_injected_profile : 1, 116 _has_injected_profile : 1,
116 : 2; 117 : 2;
117 118
118 #ifndef PRODUCT 119 #ifndef PRODUCT
710 void set_is_old() { _access_flags.set_is_old(); } 711 void set_is_old() { _access_flags.set_is_old(); }
711 bool is_obsolete() const { return access_flags().is_obsolete(); } 712 bool is_obsolete() const { return access_flags().is_obsolete(); }
712 void set_is_obsolete() { _access_flags.set_is_obsolete(); } 713 void set_is_obsolete() { _access_flags.set_is_obsolete(); }
713 bool is_deleted() const { return access_flags().is_deleted(); } 714 bool is_deleted() const { return access_flags().is_deleted(); }
714 void set_is_deleted() { _access_flags.set_is_deleted(); } 715 void set_is_deleted() { _access_flags.set_is_deleted(); }
716
717 bool is_running_emcp() const {
718 // EMCP methods are old but not obsolete or deleted. Equivalent
719 // Modulo Constant Pool means the method is equivalent except
720 // the constant pool and instructions that access the constant
721 // pool might be different.
722 // If a breakpoint is set in a redefined method, its EMCP methods that are
723 // still running must have a breakpoint also.
724 return _running_emcp;
725 }
726
727 void set_running_emcp(bool x) {
728 _running_emcp = x;
729 }
730
715 bool on_stack() const { return access_flags().on_stack(); } 731 bool on_stack() const { return access_flags().on_stack(); }
716 void set_on_stack(const bool value); 732 void set_on_stack(const bool value);
717 733
718 // see the definition in Method*.cpp for the gory details 734 // see the definition in Method*.cpp for the gory details
719 bool should_not_be_cached() const; 735 bool should_not_be_cached() const;

mercurial