RFR: 8361055: Serial: Inline SerialHeap::process_roots
Thomas Schatzl
tschatzl at openjdk.org
Mon Jun 30 08:56:42 UTC 2025
On Mon, 30 Jun 2025 08:25:09 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
Not really convinced about this change: if there is need to add a root now, you need to look at three places instead of one.
The parameter to select particular additional roots seems clear enough to me.
-------------
PR Review: https://git.openjdk.org/jdk/pull/26038#pullrequestreview-2970434177
More information about the hotspot-gc-dev
mailing list