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

Better handle very spiky promotion in G1

XMLWordPrintable

    • gc
    • b12

      There are sometimes huge spikes in promotion, up to a few GBs; the current PLAB sizing algorithm is not meant to work well with such spiky behavior.

      This leads to lots of direct allocations (some tests show ~10%) which is seems a lot of direct allocations in total (i.e. 10% of a few GBs of direct allocations is still a lot, while it does not really matter for e.g. 200MB) (random number).

      Maybe decreasing the amount of direct allocations improves object copy performance in such cases; one option is to resize PLABs in such cases, or adjust the allowed direct allocations/waste.

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

              Created:
              Updated:
              Resolved: