RFR: 8319713: Parallel: Remove PSAdaptiveSizePolicy::should_full_GC

Thomas Schatzl tschatzl at openjdk.org
Mon Nov 13 09:50:57 UTC 2023


On Wed, 8 Nov 2023 13:44:56 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

> Simple removing too-conservative full-gc heuristic.

While I generally agree that this looks like the preemptive gcs for g1, do you have some numbers for these being a problem for Parallel gc as well?
The CR explicitly mentions that Parallel is too conservative with the estimation, do you have an idea how far off Parallel GC is here as well?
Promotion failures should not be that expensive - it's parallelized and there is nothing to do but restoring the preserved marks (compared to g1) but still I have no idea if/how expensive they are compared to this preemptive full gcs.

-------------

PR Review: https://git.openjdk.org/jdk/pull/16560#pullrequestreview-1726906059


More information about the hotspot-gc-dev mailing list