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

G1: Use more accurate age in predict_eden_copy_time_ms

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 22
    • 22
    • hotspot
    • gc
    • b21

    Description

      The arg of `G1SurvRateGroup::accum_surv_rate_pred` means the max age. In `G1Policy::predict_eden_copy_time_ms`, it should be called with `#eden-regions - 1` not `#eden-regions`, since age starts from 0.

      (Using a larger value can result into more conservative estimates, e.g. more bytes to be evacuated during young-gc.)

      Attachments

        Issue Links

          Activity

            People

              ayang Albert Yang
              ayang Albert Yang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: