-
Bug
-
Resolution: Fixed
-
P4
-
11, 16
-
b27
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8270263 | 11.0.13 | Aleksey Shipilev | P4 | Resolved | Fixed | b01 |
It happens even in interpreted mode, so something is fishy in runtime, I guess.
$ CONF=linux-x86-server-fastdebug make images run-test TEST=compiler/floatingpoint/NaNTest.java TEST_VM_OPTS="-XX:UseSSE=1 -Xint"
STDOUT:
### NanTest started
Written and read back float values match
0x7F800001 0x7F800001
STDERR:
java.lang.RuntimeException: Original and read back double values mismatch
0xFFF0000000000001 0xFFF8000000000001
at compiler.floatingpoint.NaNTest.testDouble(NaNTest.java:56)
at compiler.floatingpoint.NaNTest.main(NaNTest.java:69)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
at java.base/java.lang.Thread.run(Thread.java:831)
$ CONF=linux-x86-server-fastdebug make images run-test TEST=compiler/floatingpoint/NaNTest.java TEST_VM_OPTS="-XX:UseSSE=1 -Xint"
STDOUT:
### NanTest started
Written and read back float values match
0x7F800001 0x7F800001
STDERR:
java.lang.RuntimeException: Original and read back double values mismatch
0xFFF0000000000001 0xFFF8000000000001
at compiler.floatingpoint.NaNTest.testDouble(NaNTest.java:56)
at compiler.floatingpoint.NaNTest.main(NaNTest.java:69)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
at java.base/java.lang.Thread.run(Thread.java:831)
- backported by
-
JDK-8270263 Relax compiler/floatingpoint/NaNTest.java for x86_32 and lower -XX:+UseSSE
-
- Resolved
-
- relates to
-
JDK-8076373 Interpreter and compiled code process signaling NaN values inconsistently in 32-bit x86 VM
-
- Resolved
-
- links to
-
Commit openjdk/jdk11u-dev/1960a057
-
Commit openjdk/jdk/a14f02d8
-
Review openjdk/jdk11u-dev/112
-
Review openjdk/jdk/1187
(1 links to)