diff src/share/vm/oops/methodOop.cpp @ 1208:cef333a48af6

6923043: failed nightly tests which use -XX:+PrintCompilation -Xcomp -XX:CompileOnly Summary: Print "made not compilable" line only for deoptimizations. Reviewed-by: never
author kvn
date Wed, 03 Feb 2010 15:03:22 -0800
parents 87684f1a88b5
children 77261afdc5f2 2338d41fbd81
line wrap: on
line diff
--- a/src/share/vm/oops/methodOop.cpp	Wed Feb 03 12:28:30 2010 -0800
+++ b/src/share/vm/oops/methodOop.cpp	Wed Feb 03 15:03:22 2010 -0800
@@ -587,8 +587,8 @@
 }
 
 // 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);