Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8241512

Improve readability of G1Arguments::initialize by splitting out code to methods

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 15
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Subcomponent:
      gc

      Description

      G1Arguments::initalize() is a fairly long method containing flag ergonomics adjustment code for a few completely separate groups of flags.

      It's a bit hard to follow because the method is so long and if you want to find the best location to put new verification needs browsing through all the code.

      To improve readability, split the methods (further) into separate methods grouping related flags.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tschatzl Thomas Schatzl
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: