Automatically adapt Young/OldPLABSize and when setting only MinTLABSize

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 20
    • Affects Version/s: 20
    • Component/s: hotspot
    • gc
    • b08

      MinTLABSize sets both minimum TLAB and PLAB size (which is another issue); if that value is too high there is an error that Young/OldPLABSize are not automatically updated to that value if not set explicitly.

      This is annoying to have to set all three initial sizes always, particularly because by default Young/OldPLABSize are ergonomically adjusted.

      The extra annoying thing is that if you set MinTLABSize to x, you need to set Young/OldPLABSize to x+AlignmentReserve, where AlignmentReserve is some runtime calculated constant.
      Which means that you need a few tries until you can get this right.

            Assignee:
            Thomas Schatzl
            Reporter:
            Thomas Schatzl
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: