src/share/vm/oops/methodOop.cpp

changeset 1643
cef333a48af6
parent 1641
87684f1a88b5
child 1853
77261afdc5f2
child 1861
2338d41fbd81
equal deleted inserted replaced
1642:74c848d437ab 1643:cef333a48af6
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)

mercurial