-
Sub-task
-
Resolution: Fixed
-
P1
-
19
-
b13
-
generic
-
generic
The following tests are failing in Tier1 in the JDK19 CI:
5 compiler/intrinsics/unsafe/DirectByteBufferTest.java
5 compiler/intrinsics/unsafe/HeapByteBufferTest.java
These two tests appear to be failing on every platform.
compiler/intrinsics/unsafe/HeapByteBufferTest.java
#section:main
----------messages:(5/452)----------
command: main -XX:+UnlockDiagnosticVMOptions -XX:-UseUnalignedAccesses -Djdk.test.lib.random.seed=42 HeapByteBufferTest
reason: User specified action: run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:-UseUnalignedAccesses -Djdk.test.lib.random.seed=42 HeapByteBufferTest
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules java.base --add-exports java.base/jdk.internal.misc=ALL-UNNAMED
elapsed time (seconds): 5.078
----------configuration:(4/111)----------
Boot Layer
add modules: java.base
add exports: java.base/jdk.internal.misc ALL-UNNAMED
----------System.out:(2/132)----------
For random generator using seed: 42
To re-run test with same seed value please add "-Djdk.test.lib.random.seed=42" to command line.
----------System.err:(16/1006)----------
java.lang.RuntimeException: x = NaN, y = NaN (x = 7ff8421160000000, y = 7ff8421160000000)
at MyByteBuffer.ck(ByteBufferTest.java:222)
at MyByteBuffer.getFloat(ByteBufferTest.java:247)
at ByteBufferTest.stepUsingAccessors(ByteBufferTest.java:345)
at ByteBufferTest.step(ByteBufferTest.java:316)
at ByteBufferTest.run(ByteBufferTest.java:745)
at HeapByteBufferTest.main(HeapByteBufferTest.java:51)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:577)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:828)
JavaTest Message: Test threw exception: java.lang.RuntimeException: x = NaN, y = NaN (x = 7ff8421160000000, y = 7ff8421160000000)
compiler/intrinsics/unsafe/DirectByteBufferTest.java
----------System.out:(2/132)----------
For random generator using seed: 42
To re-run test with same seed value please add "-Djdk.test.lib.random.seed=42" to command line.
----------System.err:(16/1010)----------
java.lang.RuntimeException: x = NaN, y = NaN (x = 7ff8421160000000, y = 7ff8421160000000)
at MyByteBuffer.ck(ByteBufferTest.java:222)
at MyByteBuffer.getFloat(ByteBufferTest.java:247)
at ByteBufferTest.stepUsingAccessors(ByteBufferTest.java:345)
at ByteBufferTest.step(ByteBufferTest.java:316)
at ByteBufferTest.run(ByteBufferTest.java:745)
at DirectByteBufferTest.main(DirectByteBufferTest.java:48)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:577)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:828)
JavaTest Message: Test threw exception: java.lang.RuntimeException: x = NaN, y = NaN (x = 7ff8421160000000, y = 7ff8421160000000)
There's another bug filed but it has a slightly different failure mode:
JDK-8282555 java.lang.RuntimeException in HeapByteBufferTest.java with -XX:+OptoScheduling
5 compiler/intrinsics/unsafe/DirectByteBufferTest.java
5 compiler/intrinsics/unsafe/HeapByteBufferTest.java
These two tests appear to be failing on every platform.
compiler/intrinsics/unsafe/HeapByteBufferTest.java
#section:main
----------messages:(5/452)----------
command: main -XX:+UnlockDiagnosticVMOptions -XX:-UseUnalignedAccesses -Djdk.test.lib.random.seed=42 HeapByteBufferTest
reason: User specified action: run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:-UseUnalignedAccesses -Djdk.test.lib.random.seed=42 HeapByteBufferTest
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules java.base --add-exports java.base/jdk.internal.misc=ALL-UNNAMED
elapsed time (seconds): 5.078
----------configuration:(4/111)----------
Boot Layer
add modules: java.base
add exports: java.base/jdk.internal.misc ALL-UNNAMED
----------System.out:(2/132)----------
For random generator using seed: 42
To re-run test with same seed value please add "-Djdk.test.lib.random.seed=42" to command line.
----------System.err:(16/1006)----------
java.lang.RuntimeException: x = NaN, y = NaN (x = 7ff8421160000000, y = 7ff8421160000000)
at MyByteBuffer.ck(ByteBufferTest.java:222)
at MyByteBuffer.getFloat(ByteBufferTest.java:247)
at ByteBufferTest.stepUsingAccessors(ByteBufferTest.java:345)
at ByteBufferTest.step(ByteBufferTest.java:316)
at ByteBufferTest.run(ByteBufferTest.java:745)
at HeapByteBufferTest.main(HeapByteBufferTest.java:51)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:577)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:828)
JavaTest Message: Test threw exception: java.lang.RuntimeException: x = NaN, y = NaN (x = 7ff8421160000000, y = 7ff8421160000000)
compiler/intrinsics/unsafe/DirectByteBufferTest.java
----------System.out:(2/132)----------
For random generator using seed: 42
To re-run test with same seed value please add "-Djdk.test.lib.random.seed=42" to command line.
----------System.err:(16/1010)----------
java.lang.RuntimeException: x = NaN, y = NaN (x = 7ff8421160000000, y = 7ff8421160000000)
at MyByteBuffer.ck(ByteBufferTest.java:222)
at MyByteBuffer.getFloat(ByteBufferTest.java:247)
at ByteBufferTest.stepUsingAccessors(ByteBufferTest.java:345)
at ByteBufferTest.step(ByteBufferTest.java:316)
at ByteBufferTest.run(ByteBufferTest.java:745)
at DirectByteBufferTest.main(DirectByteBufferTest.java:48)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:577)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:828)
JavaTest Message: Test threw exception: java.lang.RuntimeException: x = NaN, y = NaN (x = 7ff8421160000000, y = 7ff8421160000000)
There's another bug filed but it has a slightly different failure mode:
- relates to
-
JDK-8282555 Missing memory edge when spilling MoveF2I, MoveD2L etc
- Closed
-
JDK-8282665 [REDO] ByteBufferTest.java: replace endless recursion with RuntimeException in void ck(double x, double y)
- Resolved
-
JDK-8282573 ByteBufferTest.java: replace endless recursion with RuntimeException in void ck(double x, double y)
- Closed