Mercurial > hg > truffle
comparison src/share/vm/oops/methodData.hpp @ 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 | da91efe96a93 |
children | d05ff4bf41b3 |
comparison
equal
deleted
inserted
replaced
7997:8bd61471a109 | 7998:6a51fc70a15e |
---|---|
1463 return _nof_decompiles; | 1463 return _nof_decompiles; |
1464 } | 1464 } |
1465 void inc_decompile_count() { | 1465 void inc_decompile_count() { |
1466 _nof_decompiles += 1; | 1466 _nof_decompiles += 1; |
1467 if (decompile_count() > (uint)PerMethodRecompilationCutoff) { | 1467 if (decompile_count() > (uint)PerMethodRecompilationCutoff) { |
1468 method()->set_not_compilable(CompLevel_full_optimization); | 1468 method()->set_not_compilable(CompLevel_full_optimization, true, "decompile_count > PerMethodRecompilationCutoff"); |
1469 } | 1469 } |
1470 } | 1470 } |
1471 | 1471 |
1472 // Support for code generation | 1472 // Support for code generation |
1473 static ByteSize data_offset() { | 1473 static ByteSize data_offset() { |