< prev index next >
src/hotspot/share/gc/parallel/pcTasks.cpp
Print this page
*** 115,125 ****
}
break;
case code_cache:
// Do not treat nmethods as strong roots for mark/sweep, since we can unload them.
! //CodeCache::scavenge_root_nmethods_do(CodeBlobToOopClosure(&mark_and_push_closure));
AOTLoader::oops_do(&mark_and_push_closure);
break;
default:
fatal("Unknown root type");
--- 115,125 ----
}
break;
case code_cache:
// Do not treat nmethods as strong roots for mark/sweep, since we can unload them.
! //ScavengableNMethods::scavengable_nmethods_do(CodeBlobToOopClosure(&mark_and_push_closure));
AOTLoader::oops_do(&mark_and_push_closure);
break;
default:
fatal("Unknown root type");
< prev index next >