RFR(S): 8207844: [lworld] Crash during method resolution because value type holder is not linked

Tobias Hartmann tobias.hartmann at oracle.com
Thu Jul 19 11:29:53 UTC 2018


Hi,

please review the following patch:
https://bugs.openjdk.java.net/browse/JDK-8207844
http://cr.openjdk.java.net/~thartmann/8207844/webrev.00/

We crash after deoptimization at a call when performing method resolution in the interpreter because
compiled code for _defaultvalue did not make sure that the value klass was initialized. Similar to
Parse::do_new(), we should add an uncommon trap if the value klass is not loaded at compile time.

All tests pass.

Thanks,
Tobias



More information about the valhalla-dev mailing list