Skip to content

Commit

Permalink
Adding verify_before_updaterefs() to concurrent op_init_updaterefs()
Browse files Browse the repository at this point in the history
  • Loading branch information
satyenme committed Jul 26, 2024
1 parent 4f194f1 commit 775447f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/hotspot/share/gc/shenandoah/shenandoahConcurrentGC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,9 @@ void ShenandoahConcurrentGC::op_init_updaterefs() {
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();
}
if (ShenandoahPacing) {
heap->pacer()->setup_for_updaterefs();
}
Expand Down

0 comments on commit 775447f

Please sign in to comment.