We see intermittent failures in hotspot tests
compiler/aot/verification/vmflags/TrackedFlagTest.java
compiler/aot/verification/vmflags/NotTrackedFlagTest.java
with the following callstack:
Exception in thread "main" java.lang.AssertionError: duplicate classes for name Ljava/lang/Boolean;
at jdk.aot@11.0.16-internal/jdk.tools.jaotc.AOTCompiledClass.getAOTKlassData(AOTCompiledClass.java:341)
at jdk.aot@11.0.16-internal/jdk.tools.jaotc.AOTCompiledClass.metadataName(AOTCompiledClass.java:440)
at jdk.aot@11.0.16-internal/jdk.tools.jaotc.AOTCompiledClass.metadataName(AOTCompiledClass.java:446)
at jdk.aot@11.0.16-internal/jdk.tools.jaotc.AOTCompiledClass.metadataName(AOTCompiledClass.java:452)
at jdk.aot@11.0.16-internal/jdk.tools.jaotc.MetadataBuilder.addMetadataEntries(MetadataBuilder.java:185)
at jdk.aot@11.0.16-internal/jdk.tools.jaotc.MetadataBuilder.createMethodMetadata(MetadataBuilder.java:119)
at jdk.aot@11.0.16-internal/jdk.tools.jaotc.MetadataBuilder.processMetadataClass(MetadataBuilder.java:70)
at jdk.aot@11.0.16-internal/jdk.tools.jaotc.MetadataBuilder.processMetadata(MetadataBuilder.java:63)
at jdk.aot@11.0.16-internal/jdk.tools.jaotc.DataBuilder.prepareData(DataBuilder.java:161)
at jdk.aot@11.0.16-internal/jdk.tools.jaotc.Main.run(Main.java:230)
at jdk.aot@11.0.16-internal/jdk.tools.jaotc.Main.run(Main.java:133)
at jdk.aot@11.0.16-internal/jdk.tools.jaotc.Main.main(Main.java:89)
JBS research yields similar issues JDK-8201248 and JDK-8203835 which were fixed with Graal update JDK-8215224.
Since there are no plans to update Graal in 11u, I request the exclusion of these two tests to reduce noise in the CI systems.