-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
11.0.16.1
-
generic
-
generic
ADDITIONAL SYSTEM INFORMATION :
openjdk version "11.0.16.1" 2022-08-12
OpenJDK Runtime Environment Temurin-11.0.16.1+1 (build 11.0.16.1+1)
OpenJDK 64-Bit Server VM Temurin-11.0.16.1+1 (build 11.0.16.1+1, mixed mode)
openjdk version "16.0.2" 2021-07-20
OpenJDK Runtime Environment Temurin-16.0.2+7 (build 16.0.2+7)
OpenJDK 64-Bit Server VM Temurin-16.0.2+7 (build 16.0.2+7, mixed mode, sharing
A DESCRIPTION OF THE PROBLEM :
Inside the test case is a loop that computes the CHECKSUM value when an exception is caught. The results are different when -Xint and -Xcomp are set.
To facilitate developer analysis, we uploaded the relevant test cases into Google Drive, which can be accessed at the following URL : https://drive.google.com/file/d/1asT3_L2Wi_1i182pf1YOZVnBaTF7SBa2/view?usp=share_link
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
java11 -Xcomp -cp . compiler.c2.Test7174363
java11 -Xint -cp . compiler.c2.Test7174363
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
229410000
229410000
ACTUAL -
202816230
229410000
openjdk version "11.0.16.1" 2022-08-12
OpenJDK Runtime Environment Temurin-11.0.16.1+1 (build 11.0.16.1+1)
OpenJDK 64-Bit Server VM Temurin-11.0.16.1+1 (build 11.0.16.1+1, mixed mode)
openjdk version "16.0.2" 2021-07-20
OpenJDK Runtime Environment Temurin-16.0.2+7 (build 16.0.2+7)
OpenJDK 64-Bit Server VM Temurin-16.0.2+7 (build 16.0.2+7, mixed mode, sharing
A DESCRIPTION OF THE PROBLEM :
Inside the test case is a loop that computes the CHECKSUM value when an exception is caught. The results are different when -Xint and -Xcomp are set.
To facilitate developer analysis, we uploaded the relevant test cases into Google Drive, which can be accessed at the following URL : https://drive.google.com/file/d/1asT3_L2Wi_1i182pf1YOZVnBaTF7SBa2/view?usp=share_link
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
java11 -Xcomp -cp . compiler.c2.Test7174363
java11 -Xint -cp . compiler.c2.Test7174363
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
229410000
229410000
ACTUAL -
202816230
229410000
- duplicates
-
JDK-8290451 Incorrect result when switching to C2 OSR compilation from C1
- Resolved