src/share/vm/oops/method.hpp

Print this page

        

*** 80,92 **** _force_inline = 1 << 2, _dont_inline = 1 << 3, _hidden = 1 << 4, _has_injected_profile = 1 << 5, _running_emcp = 1 << 6, ! _intrinsic_candidate = 1 << 7 }; ! u1 _flags; #ifndef PRODUCT int _compiled_invocation_count; // Number of nmethod invocations so far (for perf. debugging) #endif // Entry point for calling both from and to the interpreter. --- 80,93 ---- _force_inline = 1 << 2, _dont_inline = 1 << 3, _hidden = 1 << 4, _has_injected_profile = 1 << 5, _running_emcp = 1 << 6, ! _intrinsic_candidate = 1 << 7, ! _reserved_stack_access = 1 << 8 }; ! u2 _flags; #ifndef PRODUCT int _compiled_invocation_count; // Number of nmethod invocations so far (for perf. debugging) #endif // Entry point for calling both from and to the interpreter.
*** 827,836 **** --- 828,845 ---- } void set_has_injected_profile(bool x) { _flags = x ? (_flags | _has_injected_profile) : (_flags & ~_has_injected_profile); } + bool has_reserved_stack_access() { + return (_flags & _reserved_stack_access) != 0; + } + + void set_has_reserved_stack_access(bool x) { + _flags = x ? (_flags | _reserved_stack_access) : (_flags & ~_reserved_stack_access); + } + ConstMethod::MethodType method_type() const { return _constMethod->method_type(); } bool is_overpass() const { return method_type() == ConstMethod::OVERPASS; }