Relates :
|
|
Relates :
|
|
Relates :
|
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`.