Hotspot runtime and serviceability tests fail on JDK23 windows aarch64
- Dominant language
- HTML
- Stars
- 155
- Forks
- 346
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 36
Description
4 tests consistently fail on JDK23 windows aarch64, for the January 2025 release and the previous release:
**hotspot_runtime**
runtime/memory/ReserveMemory.java
```
18:05:10 [2025-01-27T18:05:06.922253600Z] Waiting for completion for process 55212
18:05:10 [2025-01-27T18:05:09.484735500Z] Waiting for completion finished for process 55212
18:05:10 STDERR:
18:05:10 stdout: [];
18:05:10 stderr: []
18:05:10 exitValue = -1073741819
18:05:10
18:05:10 java.lang.RuntimeException: 'EXCEPTION_ACCESS_VIOLATION' missing from stdout/stderr
18:05:10 at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:252)
18:05:10 at ReserveMemory.main(ReserveMemory.java:63)
18:05:10 at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.i
```
runtime/cds/appcds/TestDumpClassListSource.java
```
18:19:25 [2025-01-23T18:19:24.925370700Z] Waiting for completion for process 14288
18:19:25 [2025-01-23T18:19:24.925370700Z] Waiting for completion finished for process 14288
18:19:25 STDERR:
18:19:25 java.lang.RuntimeException: Archive file test-dynamic.jsa should be created
18:19:25 at TestDumpClassListSource.checkFileExistence(TestDumpClassListSource.java:89)
18:19:25 at TestDumpClassListSource.main(TestDumpClassListSource.java:119)
```
runtime/cds/appcds/TransformInterfaceOfLambda.java
```
18:19:25 [0.427s][info][class,load] java.lang.Shutdown source: jrt:/java.base
18:19:25 [0.427s][info][class,load] java.lang.Shutdown$Lock source: jrt:/java.base
18:19:25 ];
18:19:25 stderr: []
18:19:25 exitValue = 0
18:19:25
18:19:25 java.lang.RuntimeException: '[class,load] java.text.SimpleDateFormat source: shared objects file' missing from stdout/stderr
18:19:25 at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:252)
18:19:25 at TransformInterfaceOfLambda.main(TransformInterfaceOfLambda.java:72)
18:19:25 at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
18:19:25 at java.base/java.lang.reflect.Method.invoke(Method.java:580)
18:19:25 at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
18:19:25 at java.base/java.lang.Thread.run(Thread.java:1575)
18:19:25
18:19:25 JavaTest Message: Test threw exception: java.lang.RuntimeException
```
**hotspot_serviceability**
serviceability/jvmti/RedefineClasses/RedefineLeakThrowable.java
```
18:19:31
18:19:31 STDOUT:
18:19:31 STDERR:
18:19:31 java.lang.OutOfMemoryError: Metaspace
18:19:31
18:19:31 Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "MainThread"
18:19:31 Exception in thread "main" java.lang.OutOfMemoryError: Metaspace
18:19:31 rerun:
```
The last 2 failures also fail on x64 mac https://github.com/adoptium/aqa-tests/issues/5899#issuecomment-2609610367 and https://github.com/adoptium/aqa-tests/issues/5645#issuecomment-2610964520, should also be excluded
Contributor guide
Research direction
Start with the four named test files: runtime/memory/ReserveMemory.java, the two runtime/cds/appcds tests, and serviceability/jvmti/RedefineClasses/RedefineLeakThrowable.java. Compare the related macOS failures and existing platform-exclusion approach, then verify the affected tests are excluded for the reported platforms and no longer fail in the January 2025 or previous release runs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100