8150013: ParNew: Prune nmethods scavengable list

Speed up ParNew collections by pruning the list of scavengable nmethods.

Reviewed-by: jmasa, tonyp, twisti
This commit is contained in:
Carsten Varming 2016-03-07 14:41:31 -05:00
parent eadcb3b145
commit f913f3be69
7 changed files with 57 additions and 31 deletions

View file

@ -1381,7 +1381,6 @@ void nmethod::make_unloaded(BoolObjectClosure* is_alive, oop cause) {
assert(_method == NULL, "Tautology");
set_osr_link(NULL);
//set_scavenge_root_link(NULL); // done by prune_scavenge_root_nmethods
NMethodSweeper::report_state_change(this);
}