JDK-8231568 : Deprecate G1RSetScanBlockSize command line option
  • Type: CSR
  • Component: hotspot
  • Sub-Component: gc
  • Priority: P4
  • Status: Closed
  • Resolution: Approved
  • Fix Versions: 14
  • Submitted: 2019-09-27
  • Updated: 2019-09-28
  • Resolved: 2019-09-28
Related Reports
CSR :  
Description
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() },

Comments
Moving to Approved.
28-09-2019

CSR looks good, reviewed.
27-09-2019