RFR: 8338440: Parallel: Improve fragmentation mitigation in Full GC [v4]

Albert Mingkun Yang ayang at openjdk.org
Fri Aug 23 13:32:18 UTC 2024


> Extend `SplitInfo` to support more fine-grained splitting to mitigate the fragmentation issue during full GC. Added comments and diagrams in the process.
> 
> For easier review, it's best to start with `SplitInfo` and then proceed to see how it is constructed in `summarize_split_space` and consumed in `first_src_addr`. The accompanying diagrams should help create a clear mental image.
> 
> With this patch, the exec time of `runtime/ClassInitErrors/TestOutOfMemoryDuringInit.java` using Parallel drops from ~30s to ~8s, the same as other GCs, and gc-log shows similar number of GC cycles as well.
> 
> Test: tier1-8, systemgc micro bm, CacheStress, dacapo, specjbb2005, specjvm2008

Albert Mingkun Yang has updated the pull request incrementally with one additional commit since the last revision:

  review

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/20590/files
  - new: https://git.openjdk.org/jdk/pull/20590/files/6e76fb49..73598ba8

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=20590&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=20590&range=02-03

  Stats: 9 lines in 1 file changed: 0 ins; 0 del; 9 mod
  Patch: https://git.openjdk.org/jdk/pull/20590.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20590/head:pull/20590

PR: https://git.openjdk.org/jdk/pull/20590


More information about the hotspot-gc-dev mailing list