RFR: 8353471: ZGC: Redundant generation id in ZGeneration
Stefan Karlsson
stefank at openjdk.org
Wed Apr 2 07:06:13 UTC 2025
On Wed, 2 Apr 2025 06:52:49 GMT, Joel Sikström <jsikstro at openjdk.org> wrote:
> The ZGeneration class (and in turn ZGenerationOld and ZGenerationYoung) keeps track of its own ZGenerationId, which means that the generation id does not need to be passed along as an argument when calling internal functions.
>
> I've removed the id parameter from `ZGeneration::select_relocation_set` in favor of using the member variable `_id`.
Marked as reviewed by stefank (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/24374#pullrequestreview-2734854851
More information about the hotspot-gc-dev
mailing list