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

Tobias Hartmann tobias.hartmann at oracle.com
Tue Jul 16 13:34:48 UTC 2019


Hi Ioi,

looks good to me!

Best regards,
Tobias

On 12.07.19 17:18, Ioi Lam wrote:
> 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