Integrated: 8353471: ZGC: Redundant generation id in ZGeneration
Joel Sikström
jsikstro at openjdk.org
Fri Apr 4 11:56:07 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`.
This pull request has now been integrated.
Changeset: b92a4436
Author: Joel Sikström <jsikstro at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/b92a44364d3a2267f5bc9aef3077805bebdf9fba
Stats: 6 lines in 2 files changed: 0 ins; 0 del; 6 mod
8353471: ZGC: Redundant generation id in ZGeneration
Reviewed-by: stefank, eosterlund
-------------
PR: https://git.openjdk.org/jdk/pull/24374
More information about the hotspot-gc-dev
mailing list