--- old/src/share/vm/oops/method.hpp 2016-10-25 10:40:07.636776508 +0200 +++ new/src/share/vm/oops/method.hpp 2016-10-25 10:40:07.588776476 +0200 @@ -37,6 +37,7 @@ #include "oops/typeArrayOop.hpp" #include "utilities/accessFlags.hpp" #include "utilities/growableArray.hpp" +#include "evtrace/traceMacros.hpp" // A Method* represents a Java method. // @@ -115,6 +116,8 @@ _has_injected_profile : 1, : 2; + EVTRACE_DECLARE_TRACKED_CLASS_FIELDS; + #ifndef PRODUCT int _compiled_invocation_count; // Number of nmethod invocations so far (for perf. debugging) #endif @@ -783,6 +786,8 @@ bool has_injected_profile() { return _has_injected_profile; } void set_has_injected_profile(bool x) { _has_injected_profile = x; } + EVTRACE_DEFINE_TRACKED_CLASS_METHODS; + ConstMethod::MethodType method_type() const { return _constMethod->method_type(); }