--- old/src/share/vm/oops/methodDataOop.hpp Thu Jan 21 15:37:32 2010 +++ new/src/share/vm/oops/methodDataOop.hpp Thu Jan 21 15:37:32 2010 @@ -1391,6 +1391,9 @@ } void inc_decompile_count() { _nof_decompiles += 1; + if (decompile_count() > (uint)PerMethodRecompilationCutoff) { + method()->set_not_compilable(); + } } // Support for code generation