RFR: 8373116: Genshen: arraycopy_work should be always done for arrays in old gen during young concurrent marking [v7]
Xiaolong Peng
xpeng at openjdk.org
Mon Dec 8 22:38:15 UTC 2025
On Mon, 8 Dec 2025 21:48:10 GMT, Xiaolong Peng <xpeng at openjdk.org> wrote:
>> Condition `D` should be sufficient when we are marking old. That is, I don't believe we need to check `B` or `C` when we are marking old.
>
> There is one case, I think we may not want to make the test here overly complicated so I didn't add it:
> (!A && B && C && !D)
>
> It could happen after final-mark in bootstrap young GC, the young marking has done, old marking is in progress.
I have updated PR, now is_generational is passed to the method as template parameter.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28669#discussion_r2600363483
More information about the shenandoah-dev
mailing list