< prev index next >

src/hotspot/share/gc/serial/defNewGeneration.cpp

CLD claiming v2

*** 135,145 **** // Tell the closure which CLD is being scanned so that it can be dirtied // if oops are left pointing into the young gen. _scavenge_closure->set_scanned_cld(cld); // Clean the cld since we're going to scavenge all the metadata. ! cld->oops_do(_scavenge_closure, ClassLoaderData::_claim_value_none, /*clear_modified_oops*/true); _scavenge_closure->set_scanned_cld(NULL); } } --- 135,145 ---- // Tell the closure which CLD is being scanned so that it can be dirtied // if oops are left pointing into the young gen. _scavenge_closure->set_scanned_cld(cld); // Clean the cld since we're going to scavenge all the metadata. ! cld->oops_do(_scavenge_closure, ClassLoaderData::_claim_none, /*clear_modified_oops*/true); _scavenge_closure->set_scanned_cld(NULL); } }
< prev index next >