RFR: 8327387: G1: Refactor region liveness processing after completion of concurrent marking

Albert Mingkun Yang ayang at openjdk.org
Tue Mar 5 17:27:08 UTC 2024


The diff is not quite easy to follow. Instead, I'd recommend to read the new code directly, and the entry-point (and the gist) is in `G1OnRegionClosure::do_heap_region`.

While running BigRamTester, h2, and specjbb2015-fixed, a slight reduction in subphase time (approximately 0.01ms) was observed. However, it's important to note that these subphases are already quite brief in baseline.

Test: tier1-6

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

Commit messages:
 - g1-merge-remark

Changes: https://git.openjdk.org/jdk/pull/18127/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18127&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8327387
  Stats: 298 lines in 4 files changed: 69 ins; 151 del; 78 mod
  Patch: https://git.openjdk.org/jdk/pull/18127.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18127/head:pull/18127

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


More information about the hotspot-gc-dev mailing list