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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • 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.

            sangheki Sangheon Kim
            tschatzl Thomas Schatzl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: