[lworld] Integrated: 8289686: [lworld] Unnecessary buffering because constant getters with scalarized arg are not C2 compiled

Tobias Hartmann thartmann at openjdk.org
Mon Jul 4 12:15:24 UTC 2022


On Mon, 4 Jul 2022 12:05:54 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

> The fix for [JDK-8275825](https://bugs.openjdk.org/browse/JDK-8275825) is incomplete. Getter methods returning a nullable inline type in scalarized form are still treated as trivial and therefore not C2 compiled which leads to buffering. Also, constant getter methods with an (unused) scalarized inline type receiver/argument should not be treated as trivial.
> 
> Thanks to @kuksenko for reporting!
> 
> Best regards,
> Tobias

This pull request has now been integrated.

Changeset: 0777b333
Author:    Tobias Hartmann <thartmann at openjdk.org>
URL:       https://git.openjdk.org/valhalla/commit/0777b3339ad9a41b13f285e8ba9fae25f2ef6e5e
Stats:     94 lines in 3 files changed: 87 ins; 0 del; 7 mod

8289686: [lworld] Unnecessary buffering because constant getters with scalarized arg are not C2 compiled

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

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



More information about the valhalla-dev mailing list