< prev index next >

src/hotspot/share/oops/method.hpp

Print this page

        

*** 95,105 **** mutable u2 _flags; 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 // Entry point for calling from compiled code, to compiled code if it exists // or else the interpreter. --- 95,105 ---- mutable u2 _flags; JFR_ONLY(DEFINE_TRACE_FLAG;) #ifndef PRODUCT ! int64_t _compiled_invocation_count; #endif // Entry point for calling both from and to the interpreter. address _i2i_entry; // All-args-on-stack calling convention // Entry point for calling from compiled code, to compiled code if it exists // or else the interpreter.
*** 445,459 **** return (mcs == NULL) ? 0 : mcs->increment_interpreter_invocation_count(); } #endif #ifndef PRODUCT ! int compiled_invocation_count() const { return _compiled_invocation_count; } ! void set_compiled_invocation_count(int count) { _compiled_invocation_count = count; } ! #else // for PrintMethodData in a product build ! int compiled_invocation_count() const { return 0; } #endif // not PRODUCT // Clear (non-shared space) pointers which could not be relevant // if this (shared) method were mapped into another JVM. void remove_unshareable_info(); --- 445,459 ---- return (mcs == NULL) ? 0 : mcs->increment_interpreter_invocation_count(); } #endif #ifndef PRODUCT ! int64_t compiled_invocation_count() const { return _compiled_invocation_count;} ! void set_compiled_invocation_count(int count) { _compiled_invocation_count = (int64_t)count; } ! #else // for PrintMethodData in a product build ! int64_t compiled_invocation_count() const { return 0; } #endif // not PRODUCT // Clear (non-shared space) pointers which could not be relevant // if this (shared) method were mapped into another JVM. void remove_unshareable_info();
< prev index next >