[lworld] RFR: 8353432: [lworld] Deoptimization needs to handle nullable, flat fields in non-value class holders

Tobias Hartmann thartmann at openjdk.org
Tue Jun 3 13:09:05 UTC 2025


On Sat, 31 May 2025 10:49:57 GMT, Quan Anh Mai <qamai at openjdk.org> wrote:

> Hi,
> 
> This patch adds handling of nullable flat fields in non-value class holder. Currently, we add all the fields to the safepoint, then add all the null markers. I decide to change this to adding the null marker of a flat field right after all the subfields of it. It makes the shape similar to how we pass nullable flat fields in the ABI, as well as simplifies the implementation since we do not have to keep track of all null markers when traversing the object payload.
> 
> Please take a look and leave your reviews, thanks a lot.

Looks like there's a merge conflict now that you pushed https://git.openjdk.org/valhalla/pull/1470.

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

PR Comment: https://git.openjdk.org/valhalla/pull/1478#issuecomment-2935147877


More information about the valhalla-dev mailing list