RFR: 8361055: Serial: Inline SerialHeap::process_roots [v5]

Albert Mingkun Yang ayang at openjdk.org
Fri Jul 18 13:14:38 UTC 2025


> Refactor roots processing in Serial (young-gc and full-gc) to clean up the control-flow and make is clearer what roots and closures are used in each context.
> 
> Test: tier1-8

Albert Mingkun Yang has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains eight additional commits since the last revision:

 - review
 - Merge branch 'master' into sgc-roots
 - review
 - Merge branch 'master' into sgc-roots
 - review
 - Merge branch 'master' into sgc-roots
 - review
 - sgc-roots

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/26038/files
  - new: https://git.openjdk.org/jdk/pull/26038/files/59432994..ab4088c0

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

  Stats: 12525 lines in 375 files changed: 9753 ins; 972 del; 1800 mod
  Patch: https://git.openjdk.org/jdk/pull/26038.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26038/head:pull/26038

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


More information about the hotspot-gc-dev mailing list