RFR 8227451 [lworld][c1] withfield and defaultvalue handling for unloaded classes

Ioi Lam ioi.lam at oracle.com
Fri Jul 12 15:18:17 UTC 2019


https://bugs.openjdk.java.net/browse/JDK-8227451
http://cr.openjdk.java.net/~iklam/valhalla/8227451-withfield-unloaded-class.v01/

When C1 sees a withfield or defaultvalue bytecode that operates on a
class that's not yet loaded, it generates a deoptimization stub to fall
back to the interpreter.

This kind of code is uncommon (not possible with regular Java code??), so
there's no point of optimizing for it.

Thanks
- Ioi


More information about the valhalla-dev mailing list