RFR: 8367240: Parallel: Refactor PSScavengeCLDClosure [v4]
Albert Mingkun Yang
ayang at openjdk.org
Wed Sep 10 10:34:35 UTC 2025
On Wed, 10 Sep 2025 10:25:56 GMT, Francesco Andreuzzi <duke at openjdk.org> wrote:
>> It's to avoid writing `_has_oops_into_young_gen` multiple times, if it's already `true`. (Both versions are correct though.)
>
> Yeah, I was curious why it's needed. What's the problem with just writing `true` if it's already `true`?
There is no problem; just redundant work.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27165#discussion_r2336312075
More information about the hotspot-gc-dev
mailing list