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

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


On Tue, 15 Jul 2025 08:29:23 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

>> 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 six additional commits since the last revision:
> 
>  - review
>  - Merge branch 'master' into sgc-roots
>  - review
>  - Merge branch 'master' into sgc-roots
>  - review
>  - sgc-roots

Updated comments. I kept the numbering as I find it helpful to capture what roots are dealt with in each context.

> I particularly do not like this one:...

Revised. I was planning to fix that in a followup PR, as it's beyond "inlining".

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

PR Comment: https://git.openjdk.org/jdk/pull/26038#issuecomment-3089442129


More information about the hotspot-gc-dev mailing list