From d2c1907349afcbc40b2626060960511e2dca01d4 Mon Sep 17 00:00:00 2001 From: Albert Mingkun Yang Date: Wed, 1 Apr 2026 14:20:53 +0000 Subject: [PATCH] 8381466: G1: Fix outdated name in G1Policy::decide_on_concurrent_start_pause Reviewed-by: tschatzl --- src/hotspot/share/gc/g1/g1Policy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotspot/share/gc/g1/g1Policy.cpp b/src/hotspot/share/gc/g1/g1Policy.cpp index b1c9f3a5b6f..5744bbc2f03 100644 --- a/src/hotspot/share/gc/g1/g1Policy.cpp +++ b/src/hotspot/share/gc/g1/g1Policy.cpp @@ -1256,7 +1256,7 @@ void G1Policy::decide_on_concurrent_start_pause() { // We are about to decide on whether this pause will be a // concurrent start pause. - // First, collector_state()->in_concurrent_start_gc() should not be already set. We + // First, collector_state()->is_in_concurrent_start_gc() should not already be set. We // will set it here if we have to. However, it should be cleared by // the end of the pause (it's only set for the duration of a // concurrent start pause).