< prev index next >

src/hotspot/share/gc/g1/g1OopClosures.cpp

CLD claiming

*** 50,60 **** // and is the one to dirty if oops are left pointing into the young gen. _closure->set_scanned_cld(cld); // Clean the cld since we're going to scavenge all the metadata. // Clear modified oops only if this cld is claimed. ! cld->oops_do(_closure, _must_claim, /*clear_modified_oops*/true); _closure->set_scanned_cld(NULL); _closure->trim_queue_partially(); } --- 50,60 ---- // and is the one to dirty if oops are left pointing into the young gen. _closure->set_scanned_cld(cld); // Clean the cld since we're going to scavenge all the metadata. // Clear modified oops only if this cld is claimed. ! cld->oops_do(_closure, _claim_value, /*clear_modified_oops*/true); _closure->set_scanned_cld(NULL); _closure->trim_queue_partially(); }
< prev index next >