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

Modify PLAB sizing algorithm to waste less

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • hotspot
    • gc
    • b83

        Current PLAB sizing most of the time wastes way more memory than is specified by PLABWasteTargetPercent. It allows the PLABs to get way too large, so particularly at the end of the evacuation there are mainly empty regions.

        Try to fix this.

        Good example programs that show this are dacapo eclipse (typically 30% average waste over a run) and crm fuse (50% waste, but mostly only during mixed GC).

        The latter might require splitting PLAB sizing between young and mixed gcs.

        In particular the formula to calculate the next PLAB size seems to be problematic.

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

                Created:
                Updated:
                Resolved: