-
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
Work around compiler bug when reading SCC hints #7120
Conversation
XL C++ 13.1.3 on AIX generates incorrect code for the line in question. The stack location containing the hint we fetch from the SCC is read and tested for ==0 before it is written to, so we intermittently take the wrong path and try to update a non-existent hint, which fails. Signed-off-by: Younes Manton <ymanton@ca.ibm.com>
Jenkins test sanity.extended all jdk8,jdk11 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Infra failures:
|
Jenkins test sanity.extended all jdk8,jdk11 |
Jenkins test sanity,extended all jdk8,jdk11 |
Note the testvmcheck failures are a known problem, will be fixed by #7148 |
AIX Java11 extended.functional - TestAttachErrorHandling_0
It's not clear to me what kind of error this is. |
More info on the error above:
It doesn't seem like something that's related to the issue being fixed here. |
The failures are all known problems, not related to this PR. |
In this case, this commit is ready to merged. |
XL C++ 13.1.3 on AIX generates incorrect code for the line in question.
The stack location containing the hint we fetch from the SCC is read and
tested for ==0 before it is written to, so we intermittently take the wrong
path and try to update a non-existent hint, which fails.
Signed-off-by: Younes Manton ymanton@ca.ibm.com
Building OpenJ9 with this patch and disassembling the JIT shows that the compiler now generates the correct sequence of instructions.
Fixes: #7045