src/hotspot/share/gc/g1/g1OopClosures.cpp
changeset 52141 de6dc206a92b
parent 50752 9d62da00bf15
child 52348 21fdf8d9a8b6
equal deleted inserted replaced
52140:3a168f782e80 52141:de6dc206a92b
    50     // and is the one to dirty if oops are left pointing into the young gen.
    50     // and is the one to dirty if oops are left pointing into the young gen.
    51     _closure->set_scanned_cld(cld);
    51     _closure->set_scanned_cld(cld);
    52 
    52 
    53     // Clean the cld since we're going to scavenge all the metadata.
    53     // Clean the cld since we're going to scavenge all the metadata.
    54     // Clear modified oops only if this cld is claimed.
    54     // Clear modified oops only if this cld is claimed.
    55     cld->oops_do(_closure, _must_claim, /*clear_modified_oops*/true);
    55     cld->oops_do(_closure, _claim, /*clear_modified_oops*/true);
    56 
    56 
    57     _closure->set_scanned_cld(NULL);
    57     _closure->set_scanned_cld(NULL);
    58 
    58 
    59     _closure->trim_queue_partially();
    59     _closure->trim_queue_partially();
    60   }
    60   }