8297349: Parallel: Use correct claim value for CLD oop iteration in PSScavengeCLDClosure
Reviewed-by: tschatzl, shade
This commit is contained in:
parent
932bf3539c
commit
0ac5b55311
@ -131,7 +131,7 @@ public:
|
|||||||
_oop_closure.set_scanned_cld(cld);
|
_oop_closure.set_scanned_cld(cld);
|
||||||
|
|
||||||
// Clean the cld since we're going to scavenge all the metadata.
|
// Clean the cld since we're going to scavenge all the metadata.
|
||||||
cld->oops_do(&_oop_closure, false, /*clear_modified_oops*/true);
|
cld->oops_do(&_oop_closure, ClassLoaderData::_claim_none, /*clear_modified_oops*/true);
|
||||||
|
|
||||||
_oop_closure.set_scanned_cld(NULL);
|
_oop_closure.set_scanned_cld(NULL);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user