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

NewSize ergonomics wrong when setting small or unaligned size on command line

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: hs25, 8, 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Resolved In Build:
      b20

      Backports

        Description

        When NewSize is set on the command line it should be used as the value for both the min and initial size of young generation. This only hold true if the size given is aligned and large enough, otherwise the size will be re-aligned and set ergonomically. For an ergonomically set NewSize the value is used only for the min young generation size, and the initial size is scaled with NewRatio.

        ILW => LML => P5
        Impact: Low, unexpected young size.
        Likelihood: Medium, only happens when small or unaligned.
        Workaround: Low, set an aligned size.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  sjohanss Stefan Johansson
                  Reporter:
                  sjohanss Stefan Johansson
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: