[lworld] Integrated: 8279853: [lworld] Multiple issues with speculative type at checkcast
Tobias Hartmann
thartmann at openjdk.java.net
Wed Jan 12 07:50:57 UTC 2022
On Wed, 12 Jan 2022 07:19:26 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:
> At checkcast, C2 checks if speculative type information is narrower than the type we cast to and if so, uses the speculative type instead. Among other things, this enables scalarization based on profile information (see for example line 4234 in the test).
>
> This change fixes several issues triggered by that optimization and also removes dead code that still assumed that inline types are null-free.
>
> Thanks,
> Tobias
This pull request has now been integrated.
Changeset: 677e325a
Author: Tobias Hartmann <thartmann at openjdk.org>
URL: https://git.openjdk.java.net/valhalla/commit/677e325a8abf9af1e4095de0e2a3f12b097ceda3
Stats: 160 lines in 3 files changed: 140 ins; 11 del; 9 mod
8279853: [lworld] Multiple issues with speculative type at checkcast
-------------
PR: https://git.openjdk.java.net/valhalla/pull/598
More information about the valhalla-dev
mailing list