-
Bug
-
Resolution: Fixed
-
P4
-
23, 24
-
b18
-
generic
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8342428 | 23.0.2 | Matthias Baesken | P4 | Resolved | Fixed | b03 |
JDK-8342491 | 21.0.6 | Matthias Baesken | P4 | Resolved | Fixed | b01 |
Reason seems to be that the ubsan-enabled binaries are much larger than normal product binaries.
(for debug binaries the test is already disabled)
Error is :
java.lang.OutOfMemoryError: Java heap space
at java.base/java.nio.file.Files.read(Files.java:3242)
at java.base/java.nio.file.Files.readAllBytes(Files.java:3299)
at AbsPathsInImage.scanFile(AbsPathsInImage.java:181)
at AbsPathsInImage$1.visitFile(AbsPathsInImage.java:173)
at AbsPathsInImage$1.visitFile(AbsPathsInImage.java:153)
at java.base/java.nio.file.Files.walkFileTree(Files.java:2810)
at java.base/java.nio.file.Files.walkFileTree(Files.java:2881)
at AbsPathsInImage.scanFiles(AbsPathsInImage.java:153)
at AbsPathsInImage.main(AbsPathsInImage.java:119)
at java.base/java.lang.invoke.LambdaForm$DMH/0x00007fb6087003a8.invokeStatic(LambdaForm$DMH)
at java.base/java.lang.invoke.LambdaForm$MH/0x00007fb608a2f3d8.invoke(LambdaForm$MH)
at java.base/java.lang.invoke.Invokers$Holder.invokeExact_MT(Invokers$Holder)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invokeImpl(DirectMethodHandleAccessor.java:154)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:573)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.runWith(Thread.java:1589)
at java.base/java.lang.Thread.run(Thread.java:1576)
We could disable the test for ubsanized binaries, or add higher Xmx settings to the test.
- backported by
-
JDK-8342428 [test] build/AbsPathsInImage.java fails with OOM when using ubsan-enabled binaries
- Resolved
-
JDK-8342491 [test] build/AbsPathsInImage.java fails with OOM when using ubsan-enabled binaries
- Resolved
- links to
-
Commit(master) openjdk/jdk21u-dev/fbfe11fe
-
Commit(master) openjdk/jdk23u/6d9d35b1
-
Commit(master) openjdk/jdk/1b46fea5
-
Review(master) openjdk/jdk21u-dev/1057
-
Review(master) openjdk/jdk23u/185
-
Review(master) openjdk/jdk/21217