JDK-8249936 : [AArch64] compiler/loopopts/superword/SumRed_Double.java fails "Invalid sum of elements variable in total: 2.1130768538923856E19"
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 16
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: aarch64
  • Submitted: 2020-07-22
  • Updated: 2020-12-18
  • Resolved: 2020-12-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 16
16Resolved
Related Reports
Duplicate :  
Relates :  
Description
The following test failed in the JDK15 CI:

compiler/loopopts/superword/SumRed_Double.java

Here's a snippet from the log file:

#section:main
----------messages:(4/482)----------
command: main -XX:+IgnoreUnrecognizedVMOptions -XX:LoopUnrollLimit=250 -XX:CompileThresholdScaling=0.1 -XX:-SuperWordReductions -XX:LoopMaxUnroll=16 compiler.loopopts.superword.SumRed_Double
reason: User specified action: run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:LoopUnrollLimit=250 -XX:CompileThresholdScaling=0.1 -XX:-SuperWordReductions -XX:LoopMaxUnroll=16 compiler.loopopts.superword.SumRed_Double 
Mode: othervm [/othervm specified]
elapsed time (seconds): 3.034
----------configuration:(0/0)----------
----------System.out:(2/104)----------
Invalid sum of elements variable in total: 2.1130768538923856E19
Expected value = 3.6028590866691944E19
----------System.err:(13/767)----------
java.lang.Exception: Failed
	at compiler.loopopts.superword.SumRed_Double.main(SumRed_Double.java:94)
	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.MainWrapper$MainThread.run(MainWrapper.java:127)
	at java.base/java.lang.Thread.run(Thread.java:832)

JavaTest Message: Test threw exception: java.lang.Exception: Failed
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.Exception: Failed
----------rerun:(40/6431)*----------
Comments
Duplicate of JDK-8248408.
18-12-2020

Probably a duplicate of JDK-8249218.
11-12-2020