< prev index next >
src/share/vm/oops/method.hpp
Print this page
@@ -35,10 +35,11 @@
#include "oops/instanceKlass.hpp"
#include "oops/oop.hpp"
#include "oops/typeArrayOop.hpp"
#include "utilities/accessFlags.hpp"
#include "utilities/growableArray.hpp"
+#include "evtrace/traceMacros.hpp"
// A Method* represents a Java method.
//
// Memory layout (each line represents a word). Note that most applications load thousands of methods,
// so keeping the size of this structure small has a big impact on footprint.
@@ -113,10 +114,12 @@
_hidden : 1,
_dont_inline : 1,
_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
// Entry point for calling both from and to the interpreter.
address _i2i_entry; // All-args-on-stack calling convention
@@ -781,10 +784,12 @@
bool is_hidden() { return _hidden; }
void set_hidden(bool x) { _hidden = x; }
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();
}
bool is_overpass() const { return method_type() == ConstMethod::OVERPASS; }
< prev index next >