-
Notifications
You must be signed in to change notification settings - Fork 722
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
Move willBeEvaluatedAsCallByCodeGen from OMR #20469
Conversation
The OMR willBeEvaluatedAsCallByCodeGen implementation for x is almost entirely guarded by the J9_PROJECT_SPECIFIC macro. If the macro is not set, it always returns true which is what the default implementation already does. Since this implementation is only meaningful to OpenJ9, it is being moved here. willNotInlineCompareAndSwapNative is only called from this implementation of willBeEvaluatedAsCallByCodeGen so it is being moved as well. Signed-off-by: jimmyk <[email protected]>
@hzongaro When you have some time, could you look at this as well? |
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 think these changes look good. Thanks!
I'll run testing both with and without eclipse-omr/omr#7516 Jenkins test sanity.functional,sanity.openjdk xlinux,xmac,win jdk8,jdk17,jdk21 |
Jenkins test sanity.functional,sanity.openjdk win32 jdk8 |
Mac failures seem to be due to an unreachable machine.
|
JDK 21 sanity.openjdk x86-64 Linux failures in jdk_security1_0 and jdk_security1_1 do not appear to be related to this change, although I can't find any known issues with similar symptoms. I'll keep an eye on this for now to see whether the same problem shows up in other test runs. JDK 8 sanity.functional x86-64 Linux failure in I will rerun the JDK 8 and 17 xmac sanity.functional testing. Jenkins test sanity.functional xmac jdk8,jdk17 |
I think I've figured out the reason for the JDK 21 sanity.openjdk failures for x86-64 Linux and Windows. The errors reported are of the form:
The problem appears to be that the SHA of the extension repo. used in the builds was I will move on to running testing with the OMR pull request. Jenkins test sanity.functional,sanity.openjdk xlinux,xmac,win jdk8,jdk17,jdk21 depends eclipse-omr/omr#7516 |
Jenkins test sanity.functional,sanity.openjdk win32 jdk8 depends eclipse-omr/omr#7516 |
xmac builds failed with this error:
That problem was fixed by eclipse-omr/omr#7521. Rerunning those tests. Jenkins test sanity.functional,sanity.openjdk xlinux,xmac,win jdk8,jdk17,jdk21 depends eclipse-omr/omr#7516 |
JDK 8 sanity.functional x86-64 Linux failure running |
Sigh! I inadvertently reran all tests in my earlier comment rather than just the xmac tests. My apologies for the churn and extra delay. |
Testing with and without OMR pull request eclipse-omr/omr#7516 had only known failures. Change is very safe. Merging. |
The OMR
willBeEvaluatedAsCallByCodeGen
implementation for x is almost entirely guarded by theJ9_PROJECT_SPECIFIC
macro. If the macro is not set, it always returns true which is what the default implementation already does. Since this implementation is only meaningful to OpenJ9, it is being moved here.willNotInlineCompareAndSwapNative
is only called from this implementation ofwillBeEvaluatedAsCallByCodeGen
so it is being moved as well.