equal
deleted
inserted
replaced
1707 } |
1707 } |
1708 |
1708 |
1709 // Clean inline caches pointing to both zombie and not_entrant methods |
1709 // Clean inline caches pointing to both zombie and not_entrant methods |
1710 if (!nm->is_in_use() || (nm->method()->code() != nm)) { |
1710 if (!nm->is_in_use() || (nm->method()->code() != nm)) { |
1711 ic->set_to_clean(); |
1711 ic->set_to_clean(); |
1712 assert(ic->is_clean(), err_msg("nmethod " PTR_FORMAT "not clean %s", from, from->method()->name_and_sig_as_C_string())); |
1712 assert(ic->is_clean(), "nmethod " PTR_FORMAT "not clean %s", from, from->method()->name_and_sig_as_C_string()); |
1713 } |
1713 } |
1714 } |
1714 } |
1715 |
1715 |
1716 return false; |
1716 return false; |
1717 } |
1717 } |
2538 // assert(method()->is_oop(), "must be valid"); |
2538 // assert(method()->is_oop(), "must be valid"); |
2539 |
2539 |
2540 ResourceMark rm; |
2540 ResourceMark rm; |
2541 |
2541 |
2542 if (!CodeCache::contains(this)) { |
2542 if (!CodeCache::contains(this)) { |
2543 fatal(err_msg("nmethod at " INTPTR_FORMAT " not in zone", this)); |
2543 fatal("nmethod at " INTPTR_FORMAT " not in zone", this); |
2544 } |
2544 } |
2545 |
2545 |
2546 if(is_native_method() ) |
2546 if(is_native_method() ) |
2547 return; |
2547 return; |
2548 |
2548 |
2549 nmethod* nm = CodeCache::find_nmethod(verified_entry_point()); |
2549 nmethod* nm = CodeCache::find_nmethod(verified_entry_point()); |
2550 if (nm != this) { |
2550 if (nm != this) { |
2551 fatal(err_msg("findNMethod did not find this nmethod (" INTPTR_FORMAT ")", |
2551 fatal("findNMethod did not find this nmethod (" INTPTR_FORMAT ")", this); |
2552 this)); |
|
2553 } |
2552 } |
2554 |
2553 |
2555 for (PcDesc* p = scopes_pcs_begin(); p < scopes_pcs_end(); p++) { |
2554 for (PcDesc* p = scopes_pcs_begin(); p < scopes_pcs_end(); p++) { |
2556 if (! p->verify(this)) { |
2555 if (! p->verify(this)) { |
2557 tty->print_cr("\t\tin nmethod at " INTPTR_FORMAT " (pcs)", this); |
2556 tty->print_cr("\t\tin nmethod at " INTPTR_FORMAT " (pcs)", this); |