G1 base elapsed time prediction is wrong because rs_length prediction is wrong

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: hotspot
    • gc
    • b115

      In G1CollectorPolicy::predict_base_elapsed_time_ms() we predict the expected remembered set lengths as follows:

      size_t rs_lengths = predict_rs_length_diff();

      which is incomplete and actually misses most of the work. It should include a prediction to the _rs_length_seq in addition to the _rse_length_diff.

      This is a day one bug.

            Assignee:
            Sangheon Kim (Inactive)
            Reporter:
            Thomas Schatzl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: