[lworld] RFR(M): Multiple compiler fixes and refactoring
Tobias Hartmann
tobias.hartmann at oracle.com
Tue Jun 19 14:43:10 UTC 2018
On 19.06.2018 13:05, Tobias Hartmann wrote:
> 3) We hit different asserts when inlining a method handle call because a value type argument is not
> passed as ValueTypeNode. The problem is in callGenerator.cpp 'cast_argument' where we should create
> a ValueTypeNode even if arg_type->higher_equal(sig_type).
We actually need a null check here when loading a value type from a casted oop because the lambda
form can be the root of compilation (the bug only showed up with -XX:CompileThreshold=100 and my
newly added test13). I've updated the webrev in place:
http://cr.openjdk.java.net/~thartmann/valhalla/lworld/field_access_fix/
Thanks,
Tobias
More information about the valhalla-dev
mailing list