comparison src/share/vm/runtime/deoptimization.cpp @ 7998:6a51fc70a15e

8006613: adding reason to made_not_compilable Reviewed-by: kvn, vlivanov Contributed-by: Igor Ignatyev <igor.ignatyev@oracle.com>
author vlivanov
date Tue, 05 Feb 2013 08:25:51 -0800
parents d2f8c38e543d
children 5fc51c1ecdeb 0094485b46c7
comparison
equal deleted inserted replaced
7997:8bd61471a109 7998:6a51fc70a15e
1557 (uint)PerBytecodeRecompilationCutoff) { 1557 (uint)PerBytecodeRecompilationCutoff) {
1558 // Give up on the method containing the bad BCI. 1558 // Give up on the method containing the bad BCI.
1559 if (trap_method() == nm->method()) { 1559 if (trap_method() == nm->method()) {
1560 make_not_compilable = true; 1560 make_not_compilable = true;
1561 } else { 1561 } else {
1562 trap_method->set_not_compilable(CompLevel_full_optimization); 1562 trap_method->set_not_compilable(CompLevel_full_optimization, true, "overflow_recompile_count > PerBytecodeRecompilationCutoff");
1563 // But give grace to the enclosing nm->method(). 1563 // But give grace to the enclosing nm->method().
1564 } 1564 }
1565 } 1565 }
1566 } 1566 }
1567 1567