RFR: 8367240: Parallel: Refactor PSScavengeCLDClosure [v4]
Francesco Andreuzzi
duke at openjdk.org
Wed Sep 10 09:48:17 UTC 2025
On Tue, 9 Sep 2025 15:49:51 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:
>> Refactor `PSScavengeCLDClosure` and its "enclosing" `PSScavengeFromCLDClosure` so that all CLD logic is encapsulated in the CLD closure, without polluting the oop closure.
>>
>> Test: tier1-3
>
> Albert Mingkun Yang has updated the pull request incrementally with one additional commit since the last revision:
>
> review
src/hotspot/share/gc/parallel/psClosure.inline.hpp line 101:
> 99: RawAccess<IS_NOT_NULL>::oop_store(p, new_obj);
> 100:
> 101: if (PSScavenge::is_obj_in_young(new_obj) && !_has_oops_into_young_gen) {
Why do you need to check `!_has_oops_into_young_gen` ?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27165#discussion_r2336199653
More information about the hotspot-gc-dev
mailing list