< prev index next >
src/share/vm/oops/method.hpp
Print this page
@@ -35,10 +35,14 @@
#include "oops/instanceKlass.hpp"
#include "oops/oop.hpp"
#include "oops/typeArrayOop.hpp"
#include "utilities/accessFlags.hpp"
#include "utilities/growableArray.hpp"
+#include "utilities/macros.hpp"
+#if INCLUDE_JFR
+#include "jfr/support/jfrTraceIdExtension.hpp"
+#endif
// 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.
@@ -114,10 +118,12 @@
_running_emcp : 1,
_dont_inline : 1,
_has_injected_profile : 1,
: 2;
+ JFR_ONLY(DEFINE_TRACE_FLAG;)
+
#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
@@ -803,10 +809,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; }
+ JFR_ONLY(DEFINE_TRACE_FLAG_ACCESSOR;)
+
ConstMethod::MethodType method_type() const {
return _constMethod->method_type();
}
bool is_overpass() const { return method_type() == ConstMethod::OVERPASS; }
< prev index next >