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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9, 10, 11
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Resolved In Build:
      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.

          Activity

          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk/jdk10/rev/2fe2d312e6ce
          User: tschatzl
          Date: 2018-01-10 13:21:33 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk/jdk10/rev/2fe2d312e6ce User: tschatzl Date: 2018-01-10 13:21:33 +0000

            People

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

              Dates

              • Created:
                Updated:
                Resolved: