Let UseGCOverheadLimit work independently of UseAdaptiveSizePolicy in parallel GC

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P5
    • tbd
    • Affects Version/s: 21
    • Component/s: hotspot
    • gc

      During the review of JDK-8194823, we find the flag `UseGCOverheadLimit` is only used by parallel GC when the `UseAdaptiveSizePolicy` is true.

      Actually, after JDK-8212206, the `UseGCOverheadLimit` can work independently of `UseAdaptiveSizePolicy`. It is good to adjust the implementation in parallel GC to let `UseGCOverheadLimit` work without `UseAdaptiveSizePolicy`.

      The related code is at `PSScavenge::invoke_no_policy` and `PSParallelCompact::invoke_no_policy`.

            Assignee:
            Unassigned
            Reporter:
            Guoxiong Li
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: