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

Automatically adapt Young/OldPLABSize and when setting only MinTLABSize

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 20
    • 20
    • 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.

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

              Created:
              Updated:
              Resolved: