[LWorld] Value type array support for C2 (and lots of bug fixes) (original) (raw)

Roland Westrelin rwestrel at redhat.com
Thu May 17 13:35:13 UTC 2018


Yes, it's with a constant null return. For example, if getNull (line 430) is compiled: http://cr.openjdk.java.net/~thartmann/valhalla/lworldarrays/webrev.00/test/hotspot/jtreg/compiler/valhalla/valuetypes/TestLWorld.java.html

Then we don't need a null check, right? It's either a ValueTypeNode or the null constant. Instead of the null check, I think we want an assert for a null constant and unconditionally an uncommon trap.

Roland.



More information about the valhalla-dev mailing list