src/share/vm/oops/method.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Cdiff src/share/vm/oops/method.hpp

src/share/vm/oops/method.hpp

Print this page
rev 7652 : 8063137: Never-taken branches should be pruned when GWT LambdaForms are shared
Reviewed-by: ?
rev 7653 : [mq]: branch.freq.1

*** 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, ! _running_emcp = 1 << 5, ! _shared = 1 << 6 }; u1 _flags; #ifndef PRODUCT int _compiled_invocation_count; // Number of nmethod invocations so far (for perf. debugging)
*** 809,818 **** --- 810,826 ---- } void set_hidden(bool x) { _flags = x ? (_flags | _hidden) : (_flags & ~_hidden); } + bool is_shared() { + return (_flags & _shared) != 0; + } + void set_shared(bool x) { + _flags = x ? (_flags | _shared) : (_flags & ~_shared); + } + ConstMethod::MethodType method_type() const { return _constMethod->method_type(); } bool is_overpass() const { return method_type() == ConstMethod::OVERPASS; }
src/share/vm/oops/method.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File