7106024: CMS: Removed unused code for precleaning in remark phase

Remove dead code.

Reviewed-by: stefank, ysr
This commit is contained in:
Jon Masamitsu 2011-11-22 14:18:39 -08:00
parent a3311881b5
commit 404bb0d0ac
3 changed files with 0 additions and 30 deletions

View file

@ -3582,16 +3582,6 @@ void CMSCollector::checkpointRootsInitialWork(bool asynch) {
" or no bits are set in the gc_prologue before the start of the next "
"subsequent marking phase.");
// Temporarily disabled, since pre/post-consumption closures don't
// care about precleaned cards
#if 0
{
MemRegion mr = MemRegion((HeapWord*)_virtual_space.low(),
(HeapWord*)_virtual_space.high());
_ct->ct_bs()->preclean_dirty_cards(mr);
}
#endif
// Save the end of the used_region of the constituent generations
// to be used to limit the extent of sweep in each generation.
save_sweep_limits();