--- old/src/share/vm/opto/compile.cpp 2014-05-06 15:13:02.000000000 -0700 +++ new/src/share/vm/opto/compile.cpp 2014-05-06 15:13:02.000000000 -0700 @@ -1089,6 +1089,7 @@ set_do_scheduling(OptoScheduling); set_do_count_invocations(false); set_do_method_data_update(false); + set_age_code(has_method() && MethodCounters::should_nmethod_age(method()->nmethod_age())); set_rtm_state(NoRTM); // No RTM lock eliding by default #if INCLUDE_RTM_OPT if (UseRTMLocking && has_method() && (method()->method_data_or_null() != NULL)) {