< prev index next >

src/share/vm/oops/method.hpp

Print this page
rev 8471 : [mq]: dont_profile.8074551

*** 79,89 **** _jfr_towrite = 1 << 0, _caller_sensitive = 1 << 1, _force_inline = 1 << 2, _dont_inline = 1 << 3, _hidden = 1 << 4, ! _running_emcp = 1 << 5 }; u1 _flags; #ifndef PRODUCT int _compiled_invocation_count; // Number of nmethod invocations so far (for perf. debugging) --- 79,90 ---- _jfr_towrite = 1 << 0, _caller_sensitive = 1 << 1, _force_inline = 1 << 2, _dont_inline = 1 << 3, _hidden = 1 << 4, ! _has_injected_profile = 1 << 5, ! _running_emcp = 1 << 6 }; u1 _flags; #ifndef PRODUCT int _compiled_invocation_count; // Number of nmethod invocations so far (for perf. debugging)
*** 812,821 **** --- 813,829 ---- } void set_hidden(bool x) { _flags = x ? (_flags | _hidden) : (_flags & ~_hidden); } + bool has_injected_profile() { + return (_flags & _has_injected_profile) != 0; + } + void set_has_injected_profile(bool x) { + _flags = x ? (_flags | _has_injected_profile) : (_flags & ~_has_injected_profile); + } + ConstMethod::MethodType method_type() const { return _constMethod->method_type(); } bool is_overpass() const { return method_type() == ConstMethod::OVERPASS; }
< prev index next >