JDK-8191232 : compiler/intrinsics/bigInteger/TestMultiplyToLen.java fails with java.lang.Exception: Failed
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 10
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • CPU: sparc
  • Submitted: 2017-11-14
  • Updated: 2019-09-13
  • Resolved: 2017-12-05
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 10 JDK 11
10 b36Fixed 11Fixed
Related Reports
Relates :  
Description
----------System.err:(13/779)----------
java.lang.Exception: Failed
	at compiler.intrinsics.bigInteger.TestMultiplyToLen.main(TestMultiplyToLen.java:106)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	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:115)
	at java.base/java.lang.Thread.run(Thread.java:844)

JavaTest Message: Test threw exception: java.lang.Exception: Failed
JavaTest Message: shutting down test
Comments
Generating the wrong insn for pointer comparison in intrinsic (on SPARC). Exposed by serial GC relocating buffers (big-numbers) to high memory region with msb (sign bit) set in address.
05-12-2017

Please, run pre-integration testing before push.
04-12-2017

I am passing this one on to Patric who implemented JDK-8167199 "Add C2 SPARC intrinsic for BigInteger::multiplyToLen() method"
22-11-2017

Issue reproducible in reported Solaris-Sparc machine, using the same test build- with in 20 iterations of following run - $ javac TestMultiplyToLen.java $ java -XX:MaxRAMPercentage=2 -server -XX:+UseSerialGC -XX:+CreateCoredumpOnCrash -XX:-TieredCompilation -Xbatch -XX:CompileCommand=exclude,compiler.intrinsics.bigInteger.TestMultiplyToLen::main -XX:CompileCommand=option,compiler.intrinsics.bigInteger.TestMultiplyToLen::base_multiply,ccstr,DisableIntrinsic,_multiplyToLen -XX:CompileCommand=option,java.math.BigInteger::multiply,ccstr,DisableIntrinsic,_multiplyToLen -XX:CompileCommand=inline,java.math.BigInteger::multiply TestMultiplyToLen (so far no failure in my local Linux-x64)
16-11-2017

initial ILW = single compiler/intrinsics/bigInteger/TestMultiplyToLen.java test failure; seems intermittent, for now in solaris-sparc only; no workaround = MMH = P3 This TestMultiplyToLen.java test failure reported seems to be intermittent failure, so far reported only with solaris-sparc. (As of now not able to reproduce the failure with simple test run using the same test build tools in the same remote test machine)
15-11-2017