src/share/vm/opto/doCall.cpp

changeset 3970
977007096840
parent 3969
1d7922586cf6
child 3971
6c5b7a6becc8
     1.1 --- a/src/share/vm/opto/doCall.cpp	Tue Jul 24 10:51:00 2012 -0700
     1.2 +++ b/src/share/vm/opto/doCall.cpp	Fri Jul 27 16:14:15 2012 -0700
     1.3 @@ -641,8 +641,8 @@
     1.4  #ifndef PRODUCT
     1.5        // We do not expect the same handler bci to take both cold unloaded
     1.6        // and hot loaded exceptions.  But, watch for it.
     1.7 -      if (extype->is_loaded()) {
     1.8 -        tty->print_cr("Warning: Handler @%d takes mixed loaded/unloaded exceptions in ");
     1.9 +      if ((Verbose || WizardMode) && extype->is_loaded()) {
    1.10 +        tty->print("Warning: Handler @%d takes mixed loaded/unloaded exceptions in ", bci());
    1.11          method()->print_name(); tty->cr();
    1.12        } else if (PrintOpto && (Verbose || WizardMode)) {
    1.13          tty->print("Bailing out on unloaded exception type ");

mercurial