8359664: G1: Remove default arg for pretouch_workers of G1CollectedHeap::expand

Reviewed-by: tschatzl
This commit is contained in:
Albert Mingkun Yang 2025-06-16 15:20:48 +00:00
parent 9d060574e5
commit 59460ff700

View File

@ -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.