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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 10
    • Affects Version/s: 9, 10, 11
    • Component/s: hotspot
    • gc
    • b39

        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.

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

                Created:
                Updated:
                Resolved: