8222259: Shenandoah: Pre-evacuate string-dedup roots in Traversal GC

Reviewed-by: shade
This commit is contained in:
Roman Kennke 2019-04-10 13:21:38 +02:00
parent 3a2343d9e6
commit ebe0ef5ee8

View File

@ -196,6 +196,10 @@ public:
} else {
_rp->process_all_roots(&roots_cl, &cld_cl, &code_cl, NULL, worker_id);
}
if (ShenandoahStringDedup::is_enabled()) {
AlwaysTrueClosure is_alive;
ShenandoahStringDedup::parallel_oops_do(&is_alive, &roots_cl, worker_id);
}
}
}
};