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

Improve predictions for preventive GC

    XMLWordPrintable

Details

    • gc

    Description

      Currently preventive gc prediction for regions needed for the GC is fairly inaccurate or too pessimistic.

      Reasons include:
      * the used waste percentage for estimating survivors from eden is way too pessimistic and too large. While the use of TargetPLABWastePct is reasonable, in practice particularly on larger heaps the waste is far smaller.
      That applies to survivors from eden/survivor and old regions.

      * survivor regions survivor estimation just takes the amount of memory survived into last gc into account. This does not take into account that the next gc may have a much less survivors. I.e. that value needs to be averaged out somehow.

      These problems can cause lots of unnecessary premature (preventive) collections.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: