8304802: After JDK-8297639 the flag G1UsePreventiveGC needs to be added to the obsoletion table

Reviewed-by: ayang, dholmes
This commit is contained in:
Thomas Schatzl 2023-03-24 12:04:23 +00:00
parent d61de141eb
commit 13dd19aac2
2 changed files with 3 additions and 7 deletions

View File

@ -320,11 +320,6 @@
"percentage of the currently used memory.") \
range(0.0, 1.0) \
\
product(bool, G1UsePreventiveGC, false, DIAGNOSTIC, \
"Allows collections to be triggered proactively based on the \
number of free regions and the expected survival rates in each \
section of the heap.") \
\
product(uint, G1RestoreRetainedRegionChunksPerWorker, 16, DIAGNOSTIC, \
"The number of chunks assigned per worker thread for " \
"retained region restore purposes.") \

View File

@ -558,8 +558,9 @@ static SpecialFlag const special_jvm_flags[] = {
{ "G1UseAdaptiveConcRefinement", JDK_Version::undefined(), JDK_Version::jdk(20), JDK_Version::undefined() },
{ "G1ConcRefinementServiceIntervalMillis", JDK_Version::undefined(), JDK_Version::jdk(20), JDK_Version::undefined() },
{ "G1ConcRSLogCacheSize", JDK_Version::undefined(), JDK_Version::jdk(21), JDK_Version::undefined() },
{ "G1ConcRSHotCardLimit", JDK_Version::undefined(), JDK_Version::jdk(21), JDK_Version::undefined() },
{ "G1UsePreventiveGC", JDK_Version::undefined(), JDK_Version::jdk(21), JDK_Version::jdk(22) },
{ "G1ConcRSLogCacheSize", JDK_Version::undefined(), JDK_Version::jdk(21), JDK_Version::undefined() },
{ "G1ConcRSHotCardLimit", JDK_Version::undefined(), JDK_Version::jdk(21), JDK_Version::undefined() },
#ifdef ASSERT
{ "DummyObsoleteTestFlag", JDK_Version::undefined(), JDK_Version::jdk(18), JDK_Version::undefined() },