-
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
Fix fieldAlignment check for AtomicLong on Z #20323
Conversation
59b0ff4
to
8d91013
Compare
@matthewhall2 as this one is fixing/ closing that issue, please use appropriate commit message. See https://github.com/eclipse-openj9/openj9/blob/master/CONTRIBUTING.md#example-commits |
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.
Change itself looks good to me. Please update the commit message and body with some useful information.
7aa7c9c
to
a56a16a
Compare
done |
c5bab58
to
13216d5
Compare
Please follow up on #20323 (comment), as your change is closing the issue you mentioned, please have description with |
13216d5
to
d084dbf
Compare
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.
I would use following commit title and the body.
Fix fieldAlignment check for AtomicLong on Z
"value" field in AtomicLong is of type "long" and should be
aligned to 8-byte boundary.
Check field alignment for AtomicLong was incorrectly checking if the
offset of the field is aligned to 4 byte boundary instead of 8.
This commit fixes that.
Closes: https://github.com/eclipse-openj9/openj9/issues/20235
Please also update PR title and description, also if you are using the above commit message, please ensure the body width to 72.
Tag me once you make above changes, I will launch sanity changes.
d084dbf
to
5fff90a
Compare
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.
"value" field for in AtomicLong is of type "long" and therefore should be aligned to 8-byte boundary.
Seems like a minor grammatical error value field in AtomicLong...
5fff90a
to
26191b9
Compare
"value" field in AtomicLong is of type "long" and therefore should be aligned to 8-byte boundary. checkFieldAlignmentForAtomicLong was incorrectly checking that the offset of the field is a multiple of 4 instead of a multiple of 8. This commit fixes that. Closes: eclipse-openj9#20235 Signed-off-by: Matthew Hall <[email protected]>
26191b9
to
fc510d4
Compare
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
jenkins test sanity zlinux jdk11,jdk21 |
The failure seen in JDK11 is same as #14948, launching JDK11 test again. |
jenkins test sanity zlinux jdk11 |
All test passed,merging. |
"value" field for in AtomicLong is of type "long" and therefore should be aligned to 8-byte boundary.
checkFieldAlignmentForAtomicLong was incorrectly checking that the offset of the field is a multiple of 4 instead of a multiple of 8.
This PR fixes that.
addresses #20235