--- a/hotspot/src/share/vm/c1/c1_Compilation.hpp Tue May 13 11:25:17 2014 +0200
+++ b/hotspot/src/share/vm/c1/c1_Compilation.hpp Tue May 13 11:32:10 2014 -0700
@@ -251,6 +251,10 @@
return env()->comp_level() == CompLevel_full_profile &&
C1UpdateMethodData && MethodData::profile_return();
}
+ bool age_code() const {
+ return _method->profile_aging();
+ }
+
// will compilation make optimistic assumptions that might lead to
// deoptimization and that the runtime will account for?
bool is_optimistic() const {