6923043: failed nightly tests which use -XX:+PrintCompilation -Xcomp -XX:CompileOnly

Print "made not compilable" line  only for deoptimizations.

Reviewed-by: never
This commit is contained in:
Vladimir Kozlov 2010-02-03 15:03:22 -08:00
parent aecc4f4081
commit d4878296c5
3 changed files with 12 additions and 9 deletions

View file

@ -587,8 +587,8 @@ bool methodOopDesc::is_not_compilable(int comp_level) const {
}
// call this when compiler finds that this method is not compilable
void methodOopDesc::set_not_compilable(int comp_level) {
if (PrintCompilation) {
void methodOopDesc::set_not_compilable(int comp_level, bool report) {
if (PrintCompilation && report) {
ttyLocker ttyl;
tty->print("made not compilable ");
this->print_short_name(tty);