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

Move rs length sampling data to the sampling thread

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Resolved In Build:
      b110

      Description

      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);

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: