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

Tobias Hartmann tobias.hartmann at oracle.com
Thu May 17 13:23:44 UTC 2018


Hi Roland,

Thanks for looking at this!

On 17.05.2018 15:19, Roland Westrelin wrote:
>> - Fixed returning null value type (parse1.cpp)
> 
> That one confuses me. When does a return of a value type return
> something other than a ValueTypeNode? Is it with a method that returns
> the null constant?

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

Thanks,
Tobias



More information about the valhalla-dev mailing list