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

Frederic Parain fparain at openjdk.java.net
Tue Apr 13 17:03:27 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

Looks good to me.

Fred

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

Marked as reviewed by fparain (Committer).

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


More information about the valhalla-dev mailing list