[lworld] Integrated: 8261647: [lworld] Missing default initialization of non-flattened field of empty inline type

Tobias Hartmann thartmann at openjdk.java.net
Mon Feb 15 12:26:48 UTC 2021


On Mon, 15 Feb 2021 12:09:21 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

> After [JDK-8253893](https://bugs.openjdk.java.net/browse/JDK-8253893) has been fixed, I've re-enabled some compiler tests for empty inline types and noticed that they are failing. The problem is that both during slow path array access through `OptoRuntime::load_unknown_inline()` and when re-allocating during deoptimization, non-flattened fields of an empty inline type are not properly initialized with the default value.
> 
> Best regards,
> Tobias

This pull request has now been integrated.

Changeset: d4ce0d4e
Author:    Tobias Hartmann <thartmann at openjdk.org>
URL:       https://git.openjdk.java.net/valhalla/commit/d4ce0d4e
Stats:     65 lines in 4 files changed: 24 ins; 28 del; 13 mod

8261647: [lworld] Missing default initialization of non-flattened field of empty inline type

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

PR: https://git.openjdk.java.net/valhalla/pull/335


More information about the valhalla-dev mailing list