The following test failed in the JDK26 CI:
runtime/cds/appcds/aotCache/ExcludedClasses.java
Here's a snippet from the log file:
[46.523s][debug ][aot,class ] klasses[ 1334] = 0x0000000800515848 boot java.lang.invoke.BoundMethodHandle$Species_IL
[46.523s][debug ][aot,class ] klasses[ 1335] = 0x0000000800516078 boot java.lang.invoke.BoundMethodHandle$Species_LLLL
[46.523s][debug ][aot,class ] klasses[ 1336] = 0x00000008005168a8 boot java.lang.invoke.BoundMethodHandle$Species_LLLLL
[46.523s][info ][aot ] Number of classes 1337
[46.523s][info ][aot ] instance classes = 1159, aot-linked = 0, inited = 0
[46.523s][info ][aot ] boot = 1153, aot-linked = 0, inited = 0
[46.523s][info ][aot ] vm = 151, aot-linked = 0, inited = 0
[46.523s][info ][aot ] platform = 0, aot-linked = 0, inited = 0
[46.523s][info ][aot ] app = 5, aot-linked = 0, inited = 0
[46.523s][info ][aot ] unregistered = 1, aot-linked = 0, inited = 0
[46.523s][info ][aot ] (enum) = 36, aot-linked = 0, inited = 0
[46.523s][info ][aot ] (hidden) = 0, aot-linked = 0, inited = 0
[46.523s][info ][aot ] (old) = 0, aot-linked = 0, inited = 0
[46.523s][info ][aot ] (unlinked) = 0, boot = 0, plat = 0, app = 0, unreg = 0
[46.523s][info ][aot ] obj array classes = 169
[46.523s][info ][aot ] type array classes = 9
[46.523s][info ][aot ] symbols = 34477
[46.523s][info ][aot ] Archived java heap is not supported: Programmatically disabled
[46.523s][info ][aot ] Dumping symbol table ...
[46.542s][debug ][aot ] Expanding shared spaces by 1048576 bytes [total 17825792 bytes ending at 0000022A15D60000]
[46.576s][info ][aot ] Archived 0 method handle intrinsics (16 bytes)
[46.576s][debug ][aot ] Total LF lines stored into AOT configuration file: 172
[46.576s][info ][aot ] Adjust lambda proxy class dictionary
[46.592s][debug ][aot ] Relocating archive from [0x0000022a14c60000 - 0x0000022a15ca8570] to [0x0000000800000000 - 0x0000000801048570]
[46.597s][info ][aot ] Writing binary AOTConfiguration file: TestApp.aotconfig
[46.603s][info ][aot ] Shared file region (rw) 0: 8960632 bytes, addr 0x0000000800010000 file offset 0x00010000 crc 0xc5c5d491
[46.610s][info ][aot ] Shared file region (ro) 1: 8029552 bytes, addr 0x00000008008a0000 file offset 0x008a0000 crc 0xaac8c41d
[46.612s][info ][aot ] Shared file region (ac) 4: 0 bytes
[46.628s][info ][aot ] Shared file region (bm) 2: 234432 bytes, addr 0x0000000000000000 file offset 0x01050000 crc 0x47dc3893
[46.628s][debug ][aot ] rw space: 8960632 [ 51.8% of total] out of 8978432 bytes [ 99.8% used] at 0x0000000800010000
[46.628s][debug ][aot ] ro space: 8029552 [ 46.4% of total] out of 8060928 bytes [ 99.6% used] at 0x00000008008a0000
[46.628s][debug ][aot ] ac space: 0 [ 0.0% of total] out of 0 bytes [ 0.0% used] at 0x0000000000000000
[46.628s][debug ][aot ] bm space: 234432 [ 1.4% of total] out of 234432 bytes [100.0% used]
[46.628s][debug ][aot ] total : 17224616 [100.0% of total] out of 17301504 bytes [ 99.6% used]
[46.628s][info ][aot ] Full module graph = disabled
[46.628s][debug ][aot ] Detailed metadata info (excluding heap region):
[46.628s][debug ][aot ] ro_cnt ro_bytes % | rw_cnt rw_bytes % | all_cnt all_bytes %
[46.628s][debug ][aot ] --------------------+---------------------------+---------------------------+--------------------------
[46.628s][debug ][aot ] Class : 0 0 0.0 | 1337 861784 9.6 | 1337 861784 5.1
[46.628s][debug ][aot ] Symbol : 34477 1432760 17.8 | 0 0 0.0 | 34477 1432760 8.4
[46.628s][debug ][aot ] TypeArrayU1 : 10412 306656 3.8 | 2318 240368 2.7 | 12730 547024 3.2
[46.628s][debug ][aot ] TypeArrayU2 : 1829 68824 0.9 | 0 0 0.0 | 1829 68824 0.4
[46.628s][debug ][aot ] TypeArrayU4 : 1351 83952 1.0 | 0 0 0.0 | 1351 83952 0.5
[46.628s][debug ][aot ] TypeArrayU8 : 10866 1067976 13.3 | 1159 138432 1.5 | 12025 1206408 7.1
[46.628s][debug ][aot ] TypeArrayOther : 1821 234984 2.9 | 1946 1024800 11.4 | 3767 1259784 7.4
[46.628s][debug ][aot ] Method : 0 0 0.0 | 17927 2016448 22.5 | 17927 2016448 11.9
[46.628s][debug ][aot ] ConstMethod : 17927 2562192 31.9 | 0 0 0.0 | 17927 2562192 15.1
[46.628s][debug ][aot ] MethodData : 0 0 0.0 | 5096 2979648 33.3 | 5096 2979648 17.5
[46.628s][debug ][aot ] ConstantPool : 1159 1781232 22.2 | 0 0 0.0 | 1159 1781232 10.5
[46.628s][debug ][aot ] ConstantPoolCache : 0 0 0.0 | 1159 74176 0.8 | 1159 74176 0.4
[46.628s][debug ][aot ] Annotations : 182 5824 0.1 | 0 0 0.0 | 182 5824 0.0
[46.628s][debug ][aot ] MethodCounters : 0 0 0.0 | 5609 403848 4.5 | 5609 403848 2.4
[46.628s][debug ][aot ] RecordComponent : 60 1440 0.0 | 0 0 0.0 | 60 1440 0.0
[46.628s][debug ][aot ] KlassTrainingData : 0 0 0.0 | 935 52360 0.6 | 935 52360 0.3
[46.628s][debug ][aot ] MethodTrainingData : 0 0 0.0 | 5383 559832 6.2 | 5383 559832 3.3
[46.628s][debug ][aot ] CompileTrainingData : 0 0 0.0 | 7567 605360 6.8 | 7567 605360 3.6
[46.628s][debug ][aot ] AdapterHandlerEntry : 0 0 0.0 | 0 0 0.0 | 0 0 0.0
[46.628s][debug ][aot ] AdapterFingerPrint : 0 0 0.0 | 0 0 0.0 | 0 0 0.0
[46.628s][debug ][aot ] SymbolHashentry : 34477 272200 3.4 | 0 0 0.0 | 34477 272200 1.6
[46.628s][debug ][aot ] SymbolBucket : 9341 37376 0.5 | 0 0 0.0 | 9341 37376 0.2
[46.628s][debug ][aot ] StringHashentry : 0 0 0.0 | 0 0 0.0 | 0 0 0.0
[46.628s][debug ][aot ] StringBucket : 0 0 0.0 | 0 0 0.0 | 0 0 0.0
[46.628s][debug ][aot ] ModulesNatives : 0 0 0.0 | 0 0 0.0 | 0 0 0.0
[46.628s][debug ][aot ] CppVTables : 0 0 0.0 | 0 3576 0.0 | 0 3576 0.0
[46.628s][debug ][aot ] Other : 0 174136 2.2 | 0 0 0.0 | 0 174136 1.0
[46.628s][debug ][aot ] --------------------+---------------------------+---------------------------+--------------------------
[46.628s][debug ][aot ] Total : 123902 8029552 100.0 | 50436 8960632 100.0 | 174338 16990184 100.0
[46.628s][info ][aot ] Class CP entries = 16145, archived = 2167 ( 13.4%), reverted = 2148
[46.628s][info ][aot ] Field CP entries = 6766, archived = 677 ( 10.0%), reverted = 123
[46.628s][info ][aot ] Method CP entries = 1769, archived = 979 ( 55.3%), reverted = 790
[46.628s][info ][aot ] Indy CP entries = 35, archived = 0 ( 0.0%), reverted = 35
[46.628s][info ][aot ] Platform loader initiated classes = 0
[46.628s][info ][aot ] App loader initiated classes = 0
[46.628s][info ][aot ] MethodCounters = 5609 ( 403848 bytes)
[46.628s][info ][aot ] KlassTrainingData = 935 ( 52360 bytes)
[46.628s][info ][aot ] MethodTrainingData = 5383 ( 559832 bytes)
AOTConfiguration recorded: TestApp.aotconfig
];
stderr: []
exitValue = 0
java.lang.RuntimeException: 'aot,resolve.*reverted field.*TestApp.Foo => TestApp.Foo.ShouldBeExcluded.f:I' missing from stdout/stderr
at jdk.test.lib.process.OutputAnalyzer.shouldMatch(OutputAnalyzer.java:372)
at ExcludedClasses$Tester.checkExecution(ExcludedClasses.java:100)
at jdk.test.lib.cds.CDSAppTester.executeAndCheck(CDSAppTester.java:221)
at jdk.test.lib.cds.CDSAppTester.recordAOTConfiguration(CDSAppTester.java:268)
at jdk.test.lib.cds.CDSAppTester.runAOTWorkflow(CDSAppTester.java:498)
at ExcludedClasses.main(ExcludedClasses.java:66)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
at java.base/java.lang.Thread.run(Thread.java:1474)
JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 'aot,resolve.*reverted field.*TestApp.Foo => TestApp.Foo.ShouldBeExcluded.f:I' missing from stdout/stderr
runtime/cds/appcds/aotCache/ExcludedClasses.java
Here's a snippet from the log file:
[46.523s][debug ][aot,class ] klasses[ 1334] = 0x0000000800515848 boot java.lang.invoke.BoundMethodHandle$Species_IL
[46.523s][debug ][aot,class ] klasses[ 1335] = 0x0000000800516078 boot java.lang.invoke.BoundMethodHandle$Species_LLLL
[46.523s][debug ][aot,class ] klasses[ 1336] = 0x00000008005168a8 boot java.lang.invoke.BoundMethodHandle$Species_LLLLL
[46.523s][info ][aot ] Number of classes 1337
[46.523s][info ][aot ] instance classes = 1159, aot-linked = 0, inited = 0
[46.523s][info ][aot ] boot = 1153, aot-linked = 0, inited = 0
[46.523s][info ][aot ] vm = 151, aot-linked = 0, inited = 0
[46.523s][info ][aot ] platform = 0, aot-linked = 0, inited = 0
[46.523s][info ][aot ] app = 5, aot-linked = 0, inited = 0
[46.523s][info ][aot ] unregistered = 1, aot-linked = 0, inited = 0
[46.523s][info ][aot ] (enum) = 36, aot-linked = 0, inited = 0
[46.523s][info ][aot ] (hidden) = 0, aot-linked = 0, inited = 0
[46.523s][info ][aot ] (old) = 0, aot-linked = 0, inited = 0
[46.523s][info ][aot ] (unlinked) = 0, boot = 0, plat = 0, app = 0, unreg = 0
[46.523s][info ][aot ] obj array classes = 169
[46.523s][info ][aot ] type array classes = 9
[46.523s][info ][aot ] symbols = 34477
[46.523s][info ][aot ] Archived java heap is not supported: Programmatically disabled
[46.523s][info ][aot ] Dumping symbol table ...
[46.542s][debug ][aot ] Expanding shared spaces by 1048576 bytes [total 17825792 bytes ending at 0000022A15D60000]
[46.576s][info ][aot ] Archived 0 method handle intrinsics (16 bytes)
[46.576s][debug ][aot ] Total LF lines stored into AOT configuration file: 172
[46.576s][info ][aot ] Adjust lambda proxy class dictionary
[46.592s][debug ][aot ] Relocating archive from [0x0000022a14c60000 - 0x0000022a15ca8570] to [0x0000000800000000 - 0x0000000801048570]
[46.597s][info ][aot ] Writing binary AOTConfiguration file: TestApp.aotconfig
[46.603s][info ][aot ] Shared file region (rw) 0: 8960632 bytes, addr 0x0000000800010000 file offset 0x00010000 crc 0xc5c5d491
[46.610s][info ][aot ] Shared file region (ro) 1: 8029552 bytes, addr 0x00000008008a0000 file offset 0x008a0000 crc 0xaac8c41d
[46.612s][info ][aot ] Shared file region (ac) 4: 0 bytes
[46.628s][info ][aot ] Shared file region (bm) 2: 234432 bytes, addr 0x0000000000000000 file offset 0x01050000 crc 0x47dc3893
[46.628s][debug ][aot ] rw space: 8960632 [ 51.8% of total] out of 8978432 bytes [ 99.8% used] at 0x0000000800010000
[46.628s][debug ][aot ] ro space: 8029552 [ 46.4% of total] out of 8060928 bytes [ 99.6% used] at 0x00000008008a0000
[46.628s][debug ][aot ] ac space: 0 [ 0.0% of total] out of 0 bytes [ 0.0% used] at 0x0000000000000000
[46.628s][debug ][aot ] bm space: 234432 [ 1.4% of total] out of 234432 bytes [100.0% used]
[46.628s][debug ][aot ] total : 17224616 [100.0% of total] out of 17301504 bytes [ 99.6% used]
[46.628s][info ][aot ] Full module graph = disabled
[46.628s][debug ][aot ] Detailed metadata info (excluding heap region):
[46.628s][debug ][aot ] ro_cnt ro_bytes % | rw_cnt rw_bytes % | all_cnt all_bytes %
[46.628s][debug ][aot ] --------------------+---------------------------+---------------------------+--------------------------
[46.628s][debug ][aot ] Class : 0 0 0.0 | 1337 861784 9.6 | 1337 861784 5.1
[46.628s][debug ][aot ] Symbol : 34477 1432760 17.8 | 0 0 0.0 | 34477 1432760 8.4
[46.628s][debug ][aot ] TypeArrayU1 : 10412 306656 3.8 | 2318 240368 2.7 | 12730 547024 3.2
[46.628s][debug ][aot ] TypeArrayU2 : 1829 68824 0.9 | 0 0 0.0 | 1829 68824 0.4
[46.628s][debug ][aot ] TypeArrayU4 : 1351 83952 1.0 | 0 0 0.0 | 1351 83952 0.5
[46.628s][debug ][aot ] TypeArrayU8 : 10866 1067976 13.3 | 1159 138432 1.5 | 12025 1206408 7.1
[46.628s][debug ][aot ] TypeArrayOther : 1821 234984 2.9 | 1946 1024800 11.4 | 3767 1259784 7.4
[46.628s][debug ][aot ] Method : 0 0 0.0 | 17927 2016448 22.5 | 17927 2016448 11.9
[46.628s][debug ][aot ] ConstMethod : 17927 2562192 31.9 | 0 0 0.0 | 17927 2562192 15.1
[46.628s][debug ][aot ] MethodData : 0 0 0.0 | 5096 2979648 33.3 | 5096 2979648 17.5
[46.628s][debug ][aot ] ConstantPool : 1159 1781232 22.2 | 0 0 0.0 | 1159 1781232 10.5
[46.628s][debug ][aot ] ConstantPoolCache : 0 0 0.0 | 1159 74176 0.8 | 1159 74176 0.4
[46.628s][debug ][aot ] Annotations : 182 5824 0.1 | 0 0 0.0 | 182 5824 0.0
[46.628s][debug ][aot ] MethodCounters : 0 0 0.0 | 5609 403848 4.5 | 5609 403848 2.4
[46.628s][debug ][aot ] RecordComponent : 60 1440 0.0 | 0 0 0.0 | 60 1440 0.0
[46.628s][debug ][aot ] KlassTrainingData : 0 0 0.0 | 935 52360 0.6 | 935 52360 0.3
[46.628s][debug ][aot ] MethodTrainingData : 0 0 0.0 | 5383 559832 6.2 | 5383 559832 3.3
[46.628s][debug ][aot ] CompileTrainingData : 0 0 0.0 | 7567 605360 6.8 | 7567 605360 3.6
[46.628s][debug ][aot ] AdapterHandlerEntry : 0 0 0.0 | 0 0 0.0 | 0 0 0.0
[46.628s][debug ][aot ] AdapterFingerPrint : 0 0 0.0 | 0 0 0.0 | 0 0 0.0
[46.628s][debug ][aot ] SymbolHashentry : 34477 272200 3.4 | 0 0 0.0 | 34477 272200 1.6
[46.628s][debug ][aot ] SymbolBucket : 9341 37376 0.5 | 0 0 0.0 | 9341 37376 0.2
[46.628s][debug ][aot ] StringHashentry : 0 0 0.0 | 0 0 0.0 | 0 0 0.0
[46.628s][debug ][aot ] StringBucket : 0 0 0.0 | 0 0 0.0 | 0 0 0.0
[46.628s][debug ][aot ] ModulesNatives : 0 0 0.0 | 0 0 0.0 | 0 0 0.0
[46.628s][debug ][aot ] CppVTables : 0 0 0.0 | 0 3576 0.0 | 0 3576 0.0
[46.628s][debug ][aot ] Other : 0 174136 2.2 | 0 0 0.0 | 0 174136 1.0
[46.628s][debug ][aot ] --------------------+---------------------------+---------------------------+--------------------------
[46.628s][debug ][aot ] Total : 123902 8029552 100.0 | 50436 8960632 100.0 | 174338 16990184 100.0
[46.628s][info ][aot ] Class CP entries = 16145, archived = 2167 ( 13.4%), reverted = 2148
[46.628s][info ][aot ] Field CP entries = 6766, archived = 677 ( 10.0%), reverted = 123
[46.628s][info ][aot ] Method CP entries = 1769, archived = 979 ( 55.3%), reverted = 790
[46.628s][info ][aot ] Indy CP entries = 35, archived = 0 ( 0.0%), reverted = 35
[46.628s][info ][aot ] Platform loader initiated classes = 0
[46.628s][info ][aot ] App loader initiated classes = 0
[46.628s][info ][aot ] MethodCounters = 5609 ( 403848 bytes)
[46.628s][info ][aot ] KlassTrainingData = 935 ( 52360 bytes)
[46.628s][info ][aot ] MethodTrainingData = 5383 ( 559832 bytes)
AOTConfiguration recorded: TestApp.aotconfig
];
stderr: []
exitValue = 0
java.lang.RuntimeException: 'aot,resolve.*reverted field.*TestApp.Foo => TestApp.Foo.ShouldBeExcluded.f:I' missing from stdout/stderr
at jdk.test.lib.process.OutputAnalyzer.shouldMatch(OutputAnalyzer.java:372)
at ExcludedClasses$Tester.checkExecution(ExcludedClasses.java:100)
at jdk.test.lib.cds.CDSAppTester.executeAndCheck(CDSAppTester.java:221)
at jdk.test.lib.cds.CDSAppTester.recordAOTConfiguration(CDSAppTester.java:268)
at jdk.test.lib.cds.CDSAppTester.runAOTWorkflow(CDSAppTester.java:498)
at ExcludedClasses.main(ExcludedClasses.java:66)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
at java.base/java.lang.Thread.run(Thread.java:1474)
JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 'aot,resolve.*reverted field.*TestApp.Foo => TestApp.Foo.ShouldBeExcluded.f:I' missing from stdout/stderr
- relates to
-
JDK-8361215 Add AOT test case: verification constraint classes are excluded
-
- Resolved
-