8336914: Shenandoah: Missing verification steps after JDK-8255765

Backport-of: e51e40c2b9f51d012c01407e0b8dadaab464753e
This commit is contained in:
William Kemper 2024-10-17 23:33:58 +00:00 committed by Paul Hohensee
parent f83e64334e
commit 16f279c0dc

View File

@ -921,8 +921,11 @@ void ShenandoahConcurrentGC::op_init_updaterefs() {
heap->set_evacuation_in_progress(false);
heap->set_concurrent_weak_root_in_progress(false);
heap->prepare_update_heap_references(true /*concurrent*/);
heap->set_update_refs_in_progress(true);
if (ShenandoahVerify) {
heap->verifier()->verify_before_updaterefs();
}
heap->set_update_refs_in_progress(true);
if (ShenandoahPacing) {
heap->pacer()->setup_for_updaterefs();
}