--- old/src/share/vm/c1/c1_Compilation.hpp 2014-05-06 15:12:59.000000000 -0700 +++ new/src/share/vm/c1/c1_Compilation.hpp 2014-05-06 15:12:59.000000000 -0700 @@ -251,6 +251,10 @@ return env()->comp_level() == CompLevel_full_profile && C1UpdateMethodData && MethodData::profile_return(); } + bool age_code() const { + return MethodCounters::should_nmethod_age(_method->nmethod_age()); + } + // will compilation make optimistic assumptions that might lead to // deoptimization and that the runtime will account for? bool is_optimistic() const {