[lworld] Integrated: 8265118: [lworld] C1 should optimize inline type checkcasts

Tobias Hartmann thartmann at openjdk.java.net
Wed Apr 14 06:23:25 UTC 2021


On Tue, 13 Apr 2021 09:24:35 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

> C1's `Canonicalizer::do_CheckCast` should optimize casts to inline klasses when types are known. 
> 
> I've added an additional test for null casts and fixed (unrelated) `TestFieldTypeMismatch.java` which was part of the wrong package.
> 
> Thanks,
> Tobias

This pull request has now been integrated.

Changeset: e9c78ce4
Author:    Tobias Hartmann <thartmann at openjdk.org>
URL:       https://git.openjdk.java.net/valhalla/commit/e9c78ce4
Stats:     32 lines in 5 files changed: 18 ins; 2 del; 12 mod

8265118: [lworld] C1 should optimize inline type checkcasts

Reviewed-by: fparain

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

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


More information about the valhalla-dev mailing list