[lworld] Integrated: 8257422: [lworld] Problems with scalarized inline type return and incremental inlining

Tobias Hartmann thartmann at openjdk.java.net
Wed Dec 2 09:50:07 UTC 2020


On Wed, 2 Dec 2020 07:29:06 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

> TestCallingConvention spuriously fails with -Xcomp and -XX:-TieredCompilation due to incremental inlining not properly handling scalarized inline type returns in rare cases. The actual fix is in parse1.cpp where we accidentally use an inline type PhiNode to return an inline type ptr when incrementally inlining (in some cases, that also manifests as crashes during compilation).
> 
> I've also refactored some related code, added stronger asserts, improved comments and added tests that reproduce the issue more reliably.
> 
> Thanks,
> Tobias

This pull request has now been integrated.

Changeset: 86801524
Author:    Tobias Hartmann <thartmann at openjdk.org>
URL:       https://git.openjdk.java.net/valhalla/commit/86801524
Stats:     98 lines in 5 files changed: 67 ins; 5 del; 26 mod

8257422: [lworld] Problems with scalarized inline type return and incremental inlining

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

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


More information about the valhalla-dev mailing list