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

G1 uses young free cset time when reporting non-young free cset times

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 10
    • 9, 10, 11
    • hotspot
    • gc
    • b39

    Backports

      Description

        In g1CollectedHeap.cpp at the end of the G1FreeCollectionSetTask::work() method, young_time is reported as G1GCPhaseTimes::NonYoungFreeCSet.

        if (has_non_young_time) {
              timer->record_time_secs(G1GCPhaseTimes::NonYoungFreeCSet, worker_id, young_time);
        }

        This screws up timing predictions as this value is used for predicting non-young region elapsed time.

        Attachments

          Issue Links

            Activity

              People

                lkorinth Leo Korinth
                lkorinth Leo Korinth
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: