-
Notifications
You must be signed in to change notification settings - Fork 729
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maybe JIT optimizations caused J9 to produce incorrect output #15500
Comments
Looks like something went wrong in LocalVP. I see that VP came to the conclusion that the second arraycopy will always fail a bounds check [1], then removes everything following the bounds check [2]. [1]
[2]
|
@0xdaryl fyi |
@BradleyWood : please investigate |
This will not be fixed for 0.35. Moving to 0.36. |
Moving to 0.38. @BradleyWood : it might be worth verifying if this problem still exists because several VP fixes were made over the past few months. |
@0xdaryl I can no longer reproduce. |
No longer reproducible. Likely a dup of the many VP fixes that went in recently. Please re-open with new details if you can still reproduce. |
Brad @BradleyWood, do you still happen to have the log file for this case? The symptom with |
Thanks, Brad @BradleyWood. After taking a quick look at the log, I don't think it's the same problem as the one I reported. However, I do still see the trees being removed after the
I'll reopen the issue. |
Assigning this to a milestone so it does not get forgotten. |
This issue no longer appears to be reproducible since omr #7461. Closing. |
Reopen until the PR is added to 0.48 |
Issue Number: 15500 |
Affected versions
We found a test case with execution problems. To facilitate analysis, we simplified the test case and the simplified class file can ben found at attachment.
Windows 10:
Java -version output under Windows 10
Problem summary
When we try to execute the following test case using OpenJ9, we may get incorrect output. The final output checksum value is 0 when executed correctly. However, when we run the test case using JDK8, the output will get one of the values
536870912,1073741824,1610612736,-2147483648,-1610612736,-1073741824,-536870912,0
.Executing test cases using JDK11 does not always result in incorrect output, or maybe we need to run it a few more times to see if there's a issue.In addition, we also try to add the -xint tag at execution time, and JDK8 will not produce incorrect output.
Attachment
TestCase9.zip
The text was updated successfully, but these errors were encountered: