From df004747a3f4631e23f811e673db9052d094ee07 Mon Sep 17 00:00:00 2001 From: Patrick Fontanilla Date: Mon, 3 Aug 2026 21:58:24 +0000 Subject: [PATCH] Stale calls --- src/hotspot/share/gc/shenandoah/shenandoahDegeneratedGC.cpp | 1 - src/hotspot/share/gc/shenandoah/shenandoahFullGC.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/src/hotspot/share/gc/shenandoah/shenandoahDegeneratedGC.cpp b/src/hotspot/share/gc/shenandoah/shenandoahDegeneratedGC.cpp index 8b473817393..3c3cdc4a90a 100644 --- a/src/hotspot/share/gc/shenandoah/shenandoahDegeneratedGC.cpp +++ b/src/hotspot/share/gc/shenandoah/shenandoahDegeneratedGC.cpp @@ -252,7 +252,6 @@ void ShenandoahDegenGC::op_degenerated() { // it, we fail degeneration right away and slide into Full GC to recover. { - heap->flush_region_pin_cache(); heap->sync_pinned_region_status(); heap->collection_set()->clear_current_index(); ShenandoahHeapRegion* r; diff --git a/src/hotspot/share/gc/shenandoah/shenandoahFullGC.cpp b/src/hotspot/share/gc/shenandoah/shenandoahFullGC.cpp index c1d13e9a3a5..cab0db7e78a 100644 --- a/src/hotspot/share/gc/shenandoah/shenandoahFullGC.cpp +++ b/src/hotspot/share/gc/shenandoah/shenandoahFullGC.cpp @@ -209,7 +209,6 @@ void ShenandoahFullGC::do_it(GCCause::Cause gc_cause) { rp->abandon_partial_discovery(); // e. Sync pinned region status from the CP marks - heap->flush_region_pin_cache(); heap->sync_pinned_region_status(); if (heap->mode()->is_generational()) {