-
Notifications
You must be signed in to change notification settings - Fork 721
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
JDK8 OpenJ9: Server and Desktop Gives Different Result #15349
Comments
If you need any further information, please let me know. |
This one doesn't duplicate for me. |
@0xdaryl fyi |
I've tried to run it for much more times. Seems like this is not because of the underlying architecture (CPU, memory) and OS. This time my server occasionally gives me the same result as my desktop. So maybe a duplicate of #15306? Not sure. Try this unreduced one openj9-bug-75.tar.gz. |
From 75 I get output like the following for a number of iterations, but all the output is the same as hotspot. Anyway, the JIT team may be able to find options that reproduce the problem when they get a chance to look.
|
The test fails when This is very likely a duplicate of #15306, but I can't yet rule out there are two different defects in expressions simplification. |
This is not a 0.33 regression. It fails at least as far back as 0.24 with JDK11. |
The investigation won't be complete for 0.33 and any fix wouldn't have time to soak in the head stream anyway. This is not a regression, so moving this out to 0.34. |
Duplicate of #15306 |
@hzongaro Could you tell me which test case (the original one or the one commented in 27 July) this one is duplicate to? |
@connglli It was the original one that this duplicates. Sorry for not being clear! |
Well done @hzongaro. You're always having a great work!!! |
Fixed by OMR pull request eclipse/omr#6747 |
Java version
Javac version
Summary of problem
This issue gives a quite tricky
Test.java
.On one hand, OpenJ9 (with above version) produces different result from HotSpot and the Android Runtime (ART).
On the other hand, the results of OpenJ9 running on our desktop and server are also different; and both different from HotSpot/ART.
No matter desktop or server, the results of OpenJ9 are deterministic.
Results of OpenJ9 on our desktop:
Results of OpenJ9 on our server:
Results of OpenJ9 (Interpreter), HotSpot (JDK8/11/17) and the Android Runtime (ART):
Configuration
Our desktop (Ubuntu 20.04; Intel i7; 16GiB )
Our server (Ubuntu 20.04; AMD Threadripper; 256GiB )
The text was updated successfully, but these errors were encountered: