< prev index next >
src/share/vm/oops/methodCounters.hpp
Print this page
*** 66,76 ****
jlong _prev_time; // Previous time the rate was acquired
u1 _highest_comp_level; // Highest compile level this method has ever seen.
u1 _highest_osr_comp_level; // Same for OSR level
#endif
! MethodCounters(methodHandle mh) :
#if INCLUDE_AOT
_method(mh()),
#endif
_nmethod_age(INT_MAX)
#ifdef TIERED
--- 66,76 ----
jlong _prev_time; // Previous time the rate was acquired
u1 _highest_comp_level; // Highest compile level this method has ever seen.
u1 _highest_osr_comp_level; // Same for OSR level
#endif
! MethodCounters(const methodHandle& mh) :
#if INCLUDE_AOT
_method(mh()),
#endif
_nmethod_age(INT_MAX)
#ifdef TIERED
*** 110,120 ****
}
public:
virtual bool is_methodCounters() const volatile { return true; }
! static MethodCounters* allocate(methodHandle mh, TRAPS);
void deallocate_contents(ClassLoaderData* loader_data) {}
AOT_ONLY(Method* method() const { return _method; })
--- 110,120 ----
}
public:
virtual bool is_methodCounters() const volatile { return true; }
! static MethodCounters* allocate(const methodHandle& mh, TRAPS);
void deallocate_contents(ClassLoaderData* loader_data) {}
AOT_ONLY(Method* method() const { return _method; })
< prev index next >