src/share/vm/oops/method.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/oops/method.hpp	Wed Jan 21 14:39:26 2015
--- new/src/share/vm/oops/method.hpp	Wed Jan 21 14:39:26 2015

*** 79,89 **** --- 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