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

Move rs length sampling data to the sampling thread

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • hotspot
    • gc
    • b110

      Currently the code for sampling the rset sizes of the incremental collection set is way too complicated.
      The iteration state and the aggregate and final values of the sampled rset sizes are all stored in the YoungList class for no good reason.
      Suggested fix is to move the iteration and aggregation to G1YoungRemSetSamplingThread::sample_young_list_rs_lengths and instead of storing the final value of the samples sizes passing them as an explicit parameter to the policy:
      g1p->revise_young_list_target_length_if_necessary(sampled_rs_lengths);

            mgerdin Mikael Gerdin (Inactive)
            mgerdin Mikael Gerdin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: