hotspot/src/share/vm/oops/methodOop.cpp
changeset 4756 da88c27a9241
parent 4754 8aef16f24e16
child 5419 f2e8cc8c12ea
child 5411 11ca5b0fb0f2
equal deleted inserted replaced
4755:eee57ea6d910 4756:da88c27a9241
   585   return (_invocation_counter.state() == InvocationCounter::wait_for_nothing)
   585   return (_invocation_counter.state() == InvocationCounter::wait_for_nothing)
   586           || (number_of_breakpoints() > 0);
   586           || (number_of_breakpoints() > 0);
   587 }
   587 }
   588 
   588 
   589 // call this when compiler finds that this method is not compilable
   589 // call this when compiler finds that this method is not compilable
   590 void methodOopDesc::set_not_compilable(int comp_level) {
   590 void methodOopDesc::set_not_compilable(int comp_level, bool report) {
   591   if (PrintCompilation) {
   591   if (PrintCompilation && report) {
   592     ttyLocker ttyl;
   592     ttyLocker ttyl;
   593     tty->print("made not compilable ");
   593     tty->print("made not compilable ");
   594     this->print_short_name(tty);
   594     this->print_short_name(tty);
   595     int size = this->code_size();
   595     int size = this->code_size();
   596     if (size > 0)
   596     if (size > 0)