JDK-8210666 : [Graal] 5 vm/constantpool/Initialization/Initialization010 tests fail w/ Graal as JIT
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 12
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2018-09-12
  • Updated: 2019-11-21
  • Resolved: 2018-09-14
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 12
12Resolved
Related Reports
Duplicate :  
Description
the tests[1] failed in the run of jdk/jdk against JCK11-b09 w/ '-Xcomp -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -XX:+UseJVMCICompiler  -XX:-TieredCompilation -XX:+UseAOT -XX:AotLibrary=lib.jdk.internal.vm.compiler.dylib' (where lib.jdk.internal.vm.compiler.dylib is created by [2]).

[1]
vm/constantpool/Initialization/Initialization010/Initialization01001m016/Initialization01001m016_rt.html: Initialization01001m016 - If Class object is in an erroneous state because of RuntimeException thrown, initialization ("invokestatic" jvm instruction execution) leads to NoClassDefFoundError 
vm/constantpool/Initialization/Initialization010/Initialization01001m017/Initialization01001m017_rt.html: Initialization01001m017 - If Class object is in an erroneous state because of IndexOutOfBoundsException thrown, initialization ("invokestatic" jvm instruction execution) leads to NoClassDefFoundError 
vm/constantpool/Initialization/Initialization010/Initialization01001m018/Initialization01001m018_rt.html: Initialization01001m018 - If Class object is in an erroneous state because of ArrayIndexOutOfBoundsException thrown, initialization ("invokestatic" jvm instruction execution) leads to NoClassDefFoundError 
vm/constantpool/Initialization/Initialization010/Initialization01001m019/Initialization01001m019_rt.html: Initialization01001m019 - If Class object is in an erroneous state because of ArithmeticException thrown, initialization ("invokestatic" jvm instruction execution) leads to NoClassDefFoundError 
vm/constantpool/Initialization/Initialization010/Initialization01001m020/Initialization01001m020_rt.html: Initialization01001m020 - If Class object is in an erroneous state because of OutOfMemoryError thrown, initialization ("invokestatic" jvm instruction execution) leads to NoClassDefFoundError 
[2] jaotc --module jdk.internal.vm.compiler 
Comments
Does is require Graal to be AOTed?
19-09-2018

[~iveresov], it was running JCK 11b09 on the latest available JDK 12.
18-09-2018

Now closing this as duplicate of JDK-8206992.
14-09-2018

We sort of already fixed this in 12. The fix for this is in https://bugs.openjdk.java.net/browse/JDK-8206992. May be we should start running JCK on 12 instead?
13-09-2018

initial ILW = NoClassDefFoundError with invokestatic instruction initialization!; with graal as jit, constantpool/Initialization test failures; use C2! = HMM = P2
13-09-2018