[lworld] Integrated: 8355614: [lworld] SIGSEGV in InlineKlass::write_value_to_addr

Tobias Hartmann thartmann at openjdk.org
Fri May 23 05:36:03 UTC 2025


On Thu, 22 May 2025 12:47:25 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

> We crash in `InlineKlass::write_value_to_addr` when writing to a field that is not a flat field. The root cause is that `b->layout_kind() == LayoutKind::NULLABLE_ATOMIC_FLAT` is true in `FieldLayout::shift_fields` because `_layout_kind` contains garbage. It needs to be initialized in the constructor.
> 
> I also fixed a few other minor things.
> 
> Thanks,
> Tobias

This pull request has now been integrated.

Changeset: 533d8143
Author:    Tobias Hartmann <thartmann at openjdk.org>
URL:       https://git.openjdk.org/valhalla/commit/533d81432cf8f8541a62a5a7f01912f15a90400e
Stats:     11 lines in 4 files changed: 3 ins; 3 del; 5 mod

8355614: [lworld] SIGSEGV in InlineKlass::write_value_to_addr

Co-authored-by: Frederic Parain <fparain at openjdk.org>

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

PR: https://git.openjdk.org/valhalla/pull/1472


More information about the valhalla-dev mailing list