-
Bug
-
Resolution: Fixed
-
P3
-
8, 11, 17, 19, 20
-
b13
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8294450 | 19.0.2 | Tobias Hartmann | P3 | Resolved | Fixed | b02 |
JDK-8294181 | 17.0.6-oracle | Tobias Hartmann | P3 | Resolved | Fixed | b01 |
JDK-8294824 | 17.0.6 | Goetz Lindenmaier | P3 | Resolved | Fixed | b01 |
JDK-8297939 | 15.0.10 | Yuri Nesterenko | P3 | Resolved | Fixed | b03 |
JDK-8297940 | 13.0.14 | Yuri Nesterenko | P3 | Resolved | Fixed | b03 |
JDK-8294118 | 11.0.18-oracle | Tobias Hartmann | P3 | Resolved | Fixed | b01 |
JDK-8294825 | 11.0.18 | Goetz Lindenmaier | P3 | Resolved | Fixed | b01 |
Microsoft Windows 10 Professional
10.0.19044 Build 19044
AMD Ryzen 5 5600G with Radeon Graphics 3.90 GHz
Memory 32 GB
openjdk version "1.8.0_332"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_332-b09)
OpenJDK 64-Bit Server VM (Temurin)(build 25.332-b09, mixed mode)
openjdk version "11.0.15" 2022-04-19
OpenJDK Runtime Environment Temurin-11.0.15+10 (build 11.0.15+10)
OpenJDK 64-Bit Server VM Temurin-11.0.15+10 (build 11.0.15+10, mixed mode)
A DESCRIPTION OF THE PROBLEM :
When we try to use Hotspot to execute test cases, we may get incorrect output. In the test case, we computed the checksum within the loop, but optimizing the loop might have resulted in us getting the wrong output. The test case execution result is not fixed.
In addition, we tried to set the -Xint flag at execution time so that we would get the correct output. So we think the issue may be related to JIT optimization.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
I shared the test case via Google Drive. You can download the test case using the link below.
https://drive.google.com/file/d/1CY_mcL3pWMc4KsCpcUd-Ps6hs8JB631H/view?usp=sharing
FREQUENCY : always
- backported by
-
JDK-8294118 Incorrect result when switching to C2 OSR compilation from C1
- Resolved
-
JDK-8294181 Incorrect result when switching to C2 OSR compilation from C1
- Resolved
-
JDK-8294450 Incorrect result when switching to C2 OSR compilation from C1
- Resolved
-
JDK-8294824 Incorrect result when switching to C2 OSR compilation from C1
- Resolved
-
JDK-8294825 Incorrect result when switching to C2 OSR compilation from C1
- Resolved
-
JDK-8297939 Incorrect result when switching to C2 OSR compilation from C1
- Resolved
-
JDK-8297940 Incorrect result when switching to C2 OSR compilation from C1
- Resolved
- duplicates
-
JDK-8290445 Incorrect result with C2 compiled code
- Closed
-
JDK-8296510 Interpreter and JIT compiler interaction issue
- Closed
-
JDK-8298461 Hotspot produces different results when set -Xint and -Xcomp
- Closed
-
JDK-8298620 Setting the -Xcomp may cause different results in Hotspot11 and Hotspot16
- Closed
-
JDK-8306724 Hotspot8 loop optimization resulted in incorrect results
- Closed
-
JDK-8306725 Hotspot8 uses the wrong optimization when setting -Xcomp
- Closed
- relates to
-
JDK-8296510 Interpreter and JIT compiler interaction issue
- Closed
- links to
-
Commit openjdk/jdk11u-dev/905baaf3
-
Commit openjdk/jdk13u-dev/246c6c3f
-
Commit openjdk/jdk15u-dev/8dbca0d8
-
Commit openjdk/jdk17u-dev/8f28d667
-
Commit openjdk/jdk19u/27158f2b
-
Commit openjdk/jdk/afa5d4ce
-
Review openjdk/jdk11u-dev/1383
-
Review openjdk/jdk13u-dev/435
-
Review openjdk/jdk15u-dev/309
-
Review openjdk/jdk17u-dev/765
-
Review openjdk/jdk19u/32
-
Review openjdk/jdk/9938