From ce02836232f8c20dc5cb10f0fcf6538563d0d4bd Mon Sep 17 00:00:00 2001 From: Albert Mingkun Yang Date: Tue, 22 Jul 2025 13:29:07 +0000 Subject: [PATCH] 8363229: Parallel: Remove develop flag GCExpandToAllocateDelayMillis Reviewed-by: shade, tschatzl --- src/hotspot/share/gc/parallel/psOldGen.cpp | 3 --- src/hotspot/share/gc/shared/gc_globals.hpp | 3 --- 2 files changed, 6 deletions(-) diff --git a/src/hotspot/share/gc/parallel/psOldGen.cpp b/src/hotspot/share/gc/parallel/psOldGen.cpp index cedad78be30..44f8f6789f1 100644 --- a/src/hotspot/share/gc/parallel/psOldGen.cpp +++ b/src/hotspot/share/gc/parallel/psOldGen.cpp @@ -172,9 +172,6 @@ bool PSOldGen::expand_for_allocate(size_t word_size) { result = expand(word_size*HeapWordSize); } } - if (GCExpandToAllocateDelayMillis > 0) { - os::naked_sleep(GCExpandToAllocateDelayMillis); - } return result; } diff --git a/src/hotspot/share/gc/shared/gc_globals.hpp b/src/hotspot/share/gc/shared/gc_globals.hpp index b15518ab225..cb2ec87416f 100644 --- a/src/hotspot/share/gc/shared/gc_globals.hpp +++ b/src/hotspot/share/gc/shared/gc_globals.hpp @@ -602,9 +602,6 @@ "space parameters)") \ range(1, UINT_MAX) \ \ - develop(uintx, GCExpandToAllocateDelayMillis, 0, \ - "Delay between expansion and allocation (in milliseconds)") \ - \ product(uint, GCDrainStackTargetSize, 64, \ "Number of entries we will try to leave on the stack " \ "during parallel gc") \