--- a/src/hotspot/share/runtime/deoptimization.cpp Tue Jun 04 11:55:51 2019 -0700
+++ b/src/hotspot/share/runtime/deoptimization.cpp Tue Jun 04 12:44:53 2019 -0700
@@ -2076,7 +2076,7 @@
if (trap_method() == nm->method()) {
make_not_compilable = true;
} else {
- trap_method->set_not_compilable(CompLevel_full_optimization, true, "overflow_recompile_count > PerBytecodeRecompilationCutoff");
+ trap_method->set_not_compilable("overflow_recompile_count > PerBytecodeRecompilationCutoff", CompLevel_full_optimization);
// But give grace to the enclosing nm->method().
}
}
@@ -2090,7 +2090,7 @@
// Give up compiling
if (make_not_compilable && !nm->method()->is_not_compilable(CompLevel_full_optimization)) {
assert(make_not_entrant, "consistent");
- nm->method()->set_not_compilable(CompLevel_full_optimization);
+ nm->method()->set_not_compilable("give up compiling", CompLevel_full_optimization);
}
} // Free marked resources