8336914: Shenandoah: Missing verification steps after JDK-8255765
Reviewed-by: shade
This commit is contained in:
parent
ef54af3988
commit
e51e40c2b9
@ -921,8 +921,11 @@ void ShenandoahConcurrentGC::op_init_updaterefs() {
|
|||||||
heap->set_evacuation_in_progress(false);
|
heap->set_evacuation_in_progress(false);
|
||||||
heap->set_concurrent_weak_root_in_progress(false);
|
heap->set_concurrent_weak_root_in_progress(false);
|
||||||
heap->prepare_update_heap_references(true /*concurrent*/);
|
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) {
|
if (ShenandoahPacing) {
|
||||||
heap->pacer()->setup_for_updaterefs();
|
heap->pacer()->setup_for_updaterefs();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user