RFR(XS): 8211210: [lworld] Compilation fails with "default value may not be null" with -XX:+StressReflectiveCode
Tobias Hartmann
tobias.hartmann at oracle.com
Fri Oct 5 12:25:08 UTC 2018
Hi Roland,
looks good to me.
Best regards,
Tobias
On 05.10.2018 11:06, Roland Westrelin wrote:
>
> http://cr.openjdk.java.net/~roland/8211210/webrev.00/
>
> With +StressReflectiveCode, layout is not a constant even for allocation
> of known types which causes the RawDefaultValue to be set when it's not
> expected. The check for layout_con here is I think too conservative so
> simply removing it and relying on type checks should be good enough.
>
> Roland.
>
More information about the valhalla-dev
mailing list