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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: hs25, 8, 9
    • Component/s: hotspot
    • gc
    • b20

        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.

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

                Created:
                Updated:
                Resolved: