-
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
Enable Field Watch Support for Power (doc) #6234
Conversation
Issue: #3422 Prerequisite: eclipse-omr/omr#4068 |
FYI: @gita-omr @zl-wang @fjeremic @dchopra001 Still working on some final formatting. I've put this up for review for discussion. |
Jenkins test sanity aix,plinux jdk8,jdk11 |
32515b8
to
92de1d7
Compare
94c2aaa
to
e9031a8
Compare
fb25f8c
to
68894cd
Compare
Jenkins test sanity plinux jdk8 |
Along with some questions/suggestions about the code, I've left comments suggesting some form and general cleanup. I'll take another pass once @AlenBadel gets a chance to address the current batch. @gita-omr The changes made here affects X and Z codgens as well, should we run tests on those platforms as well? |
Yes, it was just a sniff test on pLinux. Thanks a lot for all the comments! I think I agree with most of them. I am not sure about the inlining though. I think even if function is called only once it makes the logic much more clear in the caller. |
9fa33f4
to
67d5e0c
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.
Approving assuming we'll do a final squash.
Quick question: are we going to be running the tests after #6257 has merged? Or will we be running the tests locally? |
Both. While Jenkins is running on tests, @AlenBadel is working on running locally. |
Jenkins test extended all jdk8,jdk11 |
Thanks for the feedback during the review. Everything looks to be resolved, so I'm squashing the commits. |
a87dba1
to
c38be2a
Compare
Jenkins test sanity,extended all jdk8,jdk11 |
Taking a look at the aix failure. |
in runtime/codert_vm/pnathelp.m4: SLOW_PATH_ONLY_HELPER_NO_RETURN_VALUE(jitReportInstanceFieldWrite,3) after tracking backward it seems it eventually calls CALL_C_WITH_VMTHREAD, which is defined as: define({CALL_C_WITH_VMTHREAD},{ @gacholio will this work with AIX linkage (function pointer has to be dereferenced) and why VMThread? |
Yes, all of this works on AIX (we build it every night). All of the helpers take only the vmThread as the argument, assuming the the register args have been spilled into the ELS save area. |
@AlenBadel investigated and found that AIX test cases pass with IBM JDK but not with openj9 build. Also, he spoke with Joe, and Joe mentioned that OpenJ9 uses XL C 13.1 while IBM SDK uses 12. I guess stepping through the debugger is the only way to figure it out. |
@gacholio Inside |
#6234 (comment) is no longer the case. Please ignore. I've isolated the issue and will be pushing a fix sometime today. |
dabbac1
to
ea33c64
Compare
Jenkins test sanity,extended all jdk8,jdk11 |
This commit enables support for field watch on Power and performs minor cleanup of Concurrent Scavenger. Signed-off-by: Alen Badel <[email protected]>
Signed-off-by: Alen Badel <[email protected]>
The sanity build results from #6234 (comment) All passed other than On AIX Java11/Java8 Fails with:
It's a known issue on AIX. So this PR is safe to merge. |
@DanHeidinga @pshipton considering the PR is merged, do you think it would be too late to include into 0.15? The only reason really is that it would be nice to ship the same feature together with Z. We also wanted to write a blog about it. |
@gita-omr given this feature missed the feature complete (branch) date and milestone 1, and there doesn't seem to be a compelling reason to put it in this late, I think it can wait for the next release. |
@gita-omr I think it's too late. This PR is large and was merged yesterday which doesn't give it a lot of time to for any hard to reproduce or intermittent issues to be found and resolved. The 0.15.0 milestone 1 build is being prepared now so the window for larger changes has closed. Sorry.
This is a great idea regardless of which release it goes in. Looking forward to reading it. |
This commit enables support for field watch on Power, and proposes some minor clean up.
Signed-off-by: Alen Badel [email protected]