On Mon, 8 Jul 2024 16:18:22 GMT, Albert Mingkun Yang <ay...@openjdk.org> wrote:
> Similar cleanup as https://github.com/openjdk/jdk/pull/19056 but in Parallel. > As a result, the corresponding code in `SerialHeap` and > `ParallelScavengeHeap` share much similarity. > > The easiest way to review is to start from these two VM operations, > `VM_ParallelCollectForAllocation` and `VM_ParallelGCCollect` and follow the > new code directly, where one can see how allocation-failure triggers various > GCs with different collection efforts. > > Test: tier1-6; perf-neural for dacapo, specjvm2008, specjbb2015 and > cachestresser. This pull request has now been integrated. Changeset: 34d8562a Author: Albert Mingkun Yang <ay...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/34d8562a913b8382601e4c0c31ad34a663b9ec0a Stats: 342 lines in 14 files changed: 88 ins; 169 del; 85 mod 8335902: Parallel: Refactor VM_ParallelGCFailedAllocation and VM_ParallelGCSystemGC Reviewed-by: gli, zgu ------------- PR: https://git.openjdk.org/jdk/pull/20077