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

Serial: Refactor SerialHeap::update_gc_stats and TenuredGeneration::update_gc_stats

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • P4
    • tbd
    • 23
    • hotspot
    • gc

    Description

      During reviewing JDK-8331557, I found that the methods `SerialHeap::update_gc_stats` and `TenuredGeneration::update_gc_stats` only sample the promoted size. So it is good to rename them to `sample_promoted_amount` and simplify `TenuredGeneration::update_gc_stats` (remove the parameter `Generation* current_generation` and reduce the conditional statement).

      Attachments

        Issue Links

          Activity

            People

              gli Guoxiong Li
              gli Guoxiong Li
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: