[lworld] Integrated: 8247923: [lworld] Empty inline types break calling convention optimization

Tobias Hartmann thartmann at openjdk.java.net
Wed Jun 24 12:23:03 UTC 2020


On Wed, 24 Jun 2020 10:10:27 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

> Empty inline types confuse the calling convention optimization because the injected byte field is not picked up by
> ciValueKlass::_declared_nonstatic_fields. This patch disables the calling convention optimization for empty inline
> types and makes sure empty inline types are not allocated by C2. I've filed JDK-8248220 to evaluate further
> optimization opportunities for empty inline types.

This pull request has now been integrated.

Changeset: 45400b1e
Author:    Tobias Hartmann <thartmann at openjdk.org>
URL:       https://git.openjdk.java.net/valhalla/commit/45400b1e
Stats:     143 lines in 10 files changed: 2 ins; 119 del; 22 mod

8247923: [lworld] Empty inline types break calling convention optimization

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

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



More information about the valhalla-dev mailing list