From 59460ff700e36f8dba5cb50ddc60f107d7d5ad7f Mon Sep 17 00:00:00 2001 From: Albert Mingkun Yang Date: Mon, 16 Jun 2025 15:20:48 +0000 Subject: [PATCH] 8359664: G1: Remove default arg for pretouch_workers of G1CollectedHeap::expand Reviewed-by: tschatzl --- src/hotspot/share/gc/g1/g1CollectedHeap.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotspot/share/gc/g1/g1CollectedHeap.hpp b/src/hotspot/share/gc/g1/g1CollectedHeap.hpp index b9e06d0a711..838e3b000e0 100644 --- a/src/hotspot/share/gc/g1/g1CollectedHeap.hpp +++ b/src/hotspot/share/gc/g1/g1CollectedHeap.hpp @@ -572,7 +572,7 @@ public: // Returns true if the heap was expanded by the requested amount; // false otherwise. // (Rounds up to a G1HeapRegion boundary.) - bool expand(size_t expand_bytes, WorkerThreads* pretouch_workers = nullptr, double* expand_time_ms = nullptr); + bool expand(size_t expand_bytes, WorkerThreads* pretouch_workers, double* expand_time_ms = nullptr); bool expand_single_region(uint node_index); // Returns the PLAB statistics for a given destination.