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

Tobias Hartmann thartmann at openjdk.java.net
Wed Apr 14 06:23:24 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

Thanks for the review, Fred!

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

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


More information about the valhalla-dev mailing list