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

Deprecate and obsolete OldSize

XMLWordPrintable

    • gc
    • b22

      The purpose served by `OldSize` can be achieved using `InitialHeapSize` and `NewSize` (or `NewRatio`) due to the intrinsic constraint: `NewSize + OldSize == InitialHeapSize`. When users specify all three flags with improper values, thereby violating this constraint, one flag value must be discarded. Discarding any one of them might come as a surprise to users. The presence of `OldSize` as a command-line flag introduces a fair amount of complexity, evident in `GenArguments::initialize_size_info`.

      This flag is exclusively utilized by the Serial/Parallel GC.

            ayang Albert Yang
            ayang Albert Yang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: