[12] RFR(S) 8215319: jck lang/INTF/intf049/intf04901 fails in Graal as JIT mode with -Xcomp and AOTed Graal

Vladimir Kozlov vladimir.kozlov at oracle.com
Fri Dec 14 19:05:18 UTC 2018


https://bugs.openjdk.java.net/browse/JDK-8215319
http://cr.openjdk.java.net/~kvn/8215319/webrev.00/

Recent Graal changes introduced an optimization to elide a class initialization barrier when accessing a static field 
from a constructor or the class initializer of a class is a subtype of the type declaring the field. This is not ok when 
the field holder is an interface.

Backport of changes pushed into Graal repo. It is 'cherry pick' of Graal's fix because we will not do 'Graal update' 
into jdk 12 repo anymore.

Author: Doug Simon

-- 
Thanks,
Vladimir


More information about the hotspot-compiler-dev mailing list