JDK-8214189 : test/hotspot/jtreg/compiler/intrinsics/mathexact/MulExactLConstantTest.java fails on Windows x64 when run with -XX:-TieredCompilation
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 8,11,12
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-11-21
  • Updated: 2024-08-27
  • Resolved: 2018-11-27
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 11 JDK 12 JDK 8 Other
11.0.3Fixed 12 b22Fixed 8u391Fixed openjdk8u212Fixed
Related Reports
Duplicate :  
Relates :  
Sub Tasks
JDK-8214276 :  
Description
jib > STDERR:
jib > java.lang.RuntimeException: Intrinsic version [multiplyExact]didn't throw exception, NonIntrinsic version threw for: 9223372036854775807 + 1
jib > 	at compiler.intrinsics.mathexact.Verify.verifyResult(Verify.java:68)
jib > 	at compiler.intrinsics.mathexact.Verify.verifyBinary(Verify.java:142)
jib > 	at compiler.intrinsics.mathexact.Verify$ConstantLongTest.verify(Verify.java:249)
jib > 	at compiler.intrinsics.mathexact.MulExactLConstantTest.main(MulExactLConstantTest.java:39)
jib > 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jib > 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
jib > 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
jib > 	at java.base/java.lang.reflect.Method.invoke(Method.java:567)
jib > 	at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:246)
jib > 	at java.base/java.lang.Thread.run(Thread.java:835)
jib > 
jib > JavaTest Message: Test threw exception: java.lang.RuntimeException
jib > JavaTest Message: shutting down test
jib > 
Comments
https://github.com/openjdk/jdk/commit/efcfec81ced4690b2e4963fc3c399b3192efda67
27-08-2024

Fix Request: This seems to be a critical fix for jdk11u. Please read the details in the RFR thread: https://mail.openjdk.java.net/pipermail/jdk-updates-dev/2019-February/000606.html
22-02-2019

URL: http://hg.openjdk.java.net/jdk/jdk/rev/0037ea3c7322 User: roland Date: 2018-11-27 10:41:07 +0000
27-11-2018

ILW = Incorrect execution of compiled code (regression with C2 intrinsic), reproduces reliably with single test, disable intrinsic? = HMM = P2
22-11-2018

Reproduces 40/40 times on Windows (doesn't seem to repro on Linux) when run with the JDK-8213419 change. Doesn't happen when run (0/40 times) on the change before (http://hg.openjdk.java.net/jdk/jdk/rev/3009ca99de32).
21-11-2018

This seems to have started after http://hg.openjdk.java.net/jdk/jdk//rev/1089e8fd8439cb23ef2659251d32ff0d90510250 (8213419: C2 may hang in MulLNode::Ideal()/MulINode::Ideal() with gcc 8.2.1)
21-11-2018