8224495: Shenandoah: Do not rescan code roots in final mark pause if it is not degenerated GC
Reviewed-by: shade
This commit is contained in:
parent
d1145fa663
commit
55ba58b1c8
@ -227,9 +227,12 @@ public:
|
|||||||
rp = NULL;
|
rp = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Degenerated cycle may bypass concurrent cycle, so code roots might not be scanned,
|
if (heap->is_degenerated_gc_in_progress()) {
|
||||||
// let's check here.
|
// Degenerated cycle may bypass concurrent cycle, so code roots might not be scanned,
|
||||||
_cm->concurrent_scan_code_roots(worker_id, rp);
|
// let's check here.
|
||||||
|
_cm->concurrent_scan_code_roots(worker_id, rp);
|
||||||
|
}
|
||||||
|
|
||||||
_cm->mark_loop(worker_id, _terminator, rp,
|
_cm->mark_loop(worker_id, _terminator, rp,
|
||||||
false, // not cancellable
|
false, // not cancellable
|
||||||
_dedup_string);
|
_dedup_string);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user