RFR: 8328792: Parallel: Refactor PSParallelCompact::summary_phase

Albert Mingkun Yang ayang at openjdk.org
Fri Mar 22 12:19:30 UTC 2024


The diff is not easy to follow; it's better to read the new code directly. `summary_phase` contains the gist of collecting live-size from each space, calculating dense-prefix and summarizing old-space using dense-prefix.

(There is slight improvement to the "Summary Phase", but it takes only ~0.01ms for either case.)

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

Commit messages:
 - pgc-compute-dense-prefix

Changes: https://git.openjdk.org/jdk/pull/18451/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18451&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8328792
  Stats: 267 lines in 2 files changed: 91 ins; 148 del; 28 mod
  Patch: https://git.openjdk.org/jdk/pull/18451.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18451/head:pull/18451

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


More information about the hotspot-gc-dev mailing list