RFR: 8326612: Parallel: remove redundant assertion from ScavengeRootsTask

Richard Reingruber rrich at openjdk.org
Fri Mar 1 07:14:54 UTC 2024


On Sat, 24 Feb 2024 09:29:20 GMT, Richard Reingruber <rrich at openjdk.org> wrote:

> This change removes a redundant assertion from `ScavengeRootsTask`.
> The assertion is redundant because `_old_gen` is initialized to `old_gen` at L296 which is dereferenced at L297 before the assertion is reached.

Thanks for the reviews.

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

PR Comment: https://git.openjdk.org/jdk/pull/17994#issuecomment-1972630175


More information about the hotspot-gc-dev mailing list