--- a/hotspot/src/share/vm/runtime/deoptimization.cpp Mon Feb 04 11:30:37 2013 +0100
+++ b/hotspot/src/share/vm/runtime/deoptimization.cpp Tue Feb 05 08:25:51 2013 -0800
@@ -1559,7 +1559,7 @@
if (trap_method() == nm->method()) {
make_not_compilable = true;
} else {
- trap_method->set_not_compilable(CompLevel_full_optimization);
+ trap_method->set_not_compilable(CompLevel_full_optimization, true, "overflow_recompile_count > PerBytecodeRecompilationCutoff");
// But give grace to the enclosing nm->method().
}
}