-
Type:
CSR
-
Resolution: Approved
-
Priority:
P4
-
Component/s: hotspot
-
behavioral
-
minimal
-
Since JDK 14 this option has no effect any more due to algorithm changes. This flag is unlikely to be used in deployments as the Oracle Hotspot GC team never highlighted it anywhere.
-
add/remove/modify command line option
-
JDK
Summary
Deprecate the unused G1RSetScanBlockSize command line option.
Problem
JDK-8213108 removed the code that used the G1SetScanBlockSize product command line option as the algorithm that used it has been completely replaced and does not need it at all.
Solution
Start the removal process by deprecating the G1RSetScanBlockSize command line option in JDK 14.
Specification
--- a/src/hotspot/share/runtime/arguments.cpp Thu Sep 26 21:57:29 2019 +0200
+++ b/src/hotspot/share/runtime/arguments.cpp Fri Sep 27 12:01:07 2019 +0200
@@ -534,6 +534,7 @@
{ "FieldsAllocationStyle", JDK_Version::jdk(14), JDK_Version::jdk(15), JDK_Version::jdk(16) },
{ "CompactFields", JDK_Version::jdk(14), JDK_Version::jdk(15), JDK_Version::jdk(16) },
{ "MonitorBound", JDK_Version::jdk(14), JDK_Version::jdk(15), JDK_Version::jdk(16) },
+ { "G1RSetScanBlockSize", JDK_Version::jdk(14), JDK_Version::jdk(15), JDK_Version::jdk(16) },
// --- Deprecated alias flags (see also aliased_jvm_flags) - sorted by obsolete_in then expired_in:
{ "DefaultMaxRAMFraction", JDK_Version::jdk(8), JDK_Version::undefined(), JDK_Version::undefined() },
- csr of
-
JDK-8231553 Deprecate unused G1RSetScanBlockSize command line option
-
- Resolved
-