-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
8, 11, 17, 19
ADDITIONAL SYSTEM INFORMATION :
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_345"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_345-b01)
OpenJDK 64-Bit Server VM (Temurin)(build 25.345-b01, mixed mode)
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)
A DESCRIPTION OF THE PROBLEM :
We tried to execute the test case using java -cp .compiler.runtime.Test6826736 and found that the result of each execution is inconsistent. And we also tried setting -Xint and -Xcomp, their results are different, but no change. So we think there might be an issue about Interpreter and JIT compiler interaction.
We have uploaded the relevant content to Google Drive, please view it through the following URL
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
java -cp . compiler.runtime.Test6826736
java -cp . compiler.runtime.Test6826736
java -cp . -Xint compiler.runtime.Test6826736
java -cp . -Xcomp compiler.runtime.Test6826736
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
1684013400
1684013400
1684013400
1684013400
ACTUAL -
1684013495
1684013473
1684013400
1684013447
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_345"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_345-b01)
OpenJDK 64-Bit Server VM (Temurin)(build 25.345-b01, mixed mode)
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)
A DESCRIPTION OF THE PROBLEM :
We tried to execute the test case using java -cp .compiler.runtime.Test6826736 and found that the result of each execution is inconsistent. And we also tried setting -Xint and -Xcomp, their results are different, but no change. So we think there might be an issue about Interpreter and JIT compiler interaction.
We have uploaded the relevant content to Google Drive, please view it through the following URL
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
java -cp . compiler.runtime.Test6826736
java -cp . compiler.runtime.Test6826736
java -cp . -Xint compiler.runtime.Test6826736
java -cp . -Xcomp compiler.runtime.Test6826736
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
1684013400
1684013400
1684013400
1684013400
ACTUAL -
1684013495
1684013473
1684013400
1684013447
- duplicates
-
JDK-8290451 Incorrect result when switching to C2 OSR compilation from C1
-
- Resolved
-
- relates to
-
JDK-8290451 Incorrect result when switching to C2 OSR compilation from C1
-
- Resolved
-