8210330: Make CLD claiming allow multiple claim bits

Reviewed-by: pliden, coleenp
This commit is contained in:
Erik Österlund 2018-10-16 13:16:11 +02:00
parent 782fa608d2
commit e39c5811b5
23 changed files with 68 additions and 53 deletions

View file

@ -2213,7 +2213,7 @@ void PSParallelCompact::adjust_roots(ParCompactionManager* cm) {
Management::oops_do(&oop_closure);
JvmtiExport::oops_do(&oop_closure);
SystemDictionary::oops_do(&oop_closure);
CLDToOopClosure cld_closure(&oop_closure);
CLDToOopClosure cld_closure(&oop_closure, ClassLoaderData::_claim_strong);
ClassLoaderDataGraph::cld_do(&cld_closure);
// Now adjust pointers in remaining weak roots. (All of which should