8336914: Shenandoah: Missing verification steps after JDK-8255765

Reviewed-by: shade
This commit is contained in:
Satyen Subramaniam 2024-08-15 16:47:08 +00:00 committed by Aleksey Shipilev
parent ef54af3988
commit e51e40c2b9

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();
}