--- old/src/share/vm/code/nmethod.cpp 2013-11-07 12:05:04.752478622 +0100 +++ new/src/share/vm/code/nmethod.cpp 2013-11-07 12:05:04.656478623 +0100 @@ -1262,7 +1262,6 @@ set_osr_link(NULL); //set_scavenge_root_link(NULL); // done by prune_scavenge_root_nmethods - NMethodSweeper::notify(); } void nmethod::invalidate_osr_method() { @@ -1420,9 +1419,6 @@ tty->print_cr("nmethod <" INTPTR_FORMAT "> code made %s", this, (state == not_entrant) ? "not entrant" : "zombie"); } - // Make sweeper aware that there is a zombie method that needs to be removed - NMethodSweeper::notify(); - return true; }