mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-08 20:49:44 +00:00
8224179: Shenandoah: CTW test failures with traversal GC
Reviewed-by: shade
This commit is contained in:
parent
18a59944ef
commit
b08841af0d
@ -192,11 +192,7 @@ public:
|
||||
ShenandoahMarkCLDClosure cld_cl(&roots_cl);
|
||||
MarkingCodeBlobClosure code_cl(&roots_cl, CodeBlobToOopClosure::FixRelocations);
|
||||
if (unload_classes) {
|
||||
_rp->strong_roots_do(worker_id, &roots_cl);
|
||||
// Need to pre-evac code roots here. Otherwise we might see from-space constants.
|
||||
ShenandoahWorkerTimings* worker_times = _heap->phase_timings()->worker_times();
|
||||
ShenandoahWorkerTimingsTracker timer(worker_times, ShenandoahPhaseTimings::CodeCacheRoots, worker_id);
|
||||
_cset_coderoots->possibly_parallel_blobs_do(&code_cl);
|
||||
_rp->roots_do(worker_id, &roots_cl, NULL, &code_cl);
|
||||
} else {
|
||||
_rp->roots_do(worker_id, &roots_cl, &cld_cl, &code_cl);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user