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

Let UseGCOverheadLimit work independently of UseAdaptiveSizePolicy in parallel GC

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P5 P5
    • tbd
    • 21
    • 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`.

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

              Created:
              Updated: