Skip to content
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 to OpenJ9 #7516

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

IBMJimmyk
Copy link
Contributor

The 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 there.

willNotInlineCompareAndSwapNative is only called from this implementation of willBeEvaluatedAsCallByCodeGen so it is being moved as well.

Depends on:
eclipse-openj9/openj9#20469
The OpenJ9 PR needs to be merged in either before or at the same time as this one.

The 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 there.

willNotInlineCompareAndSwapNative is only called from this
implementation of willBeEvaluatedAsCallByCodeGen so it is being moved as
well.

Signed-off-by: jimmyk <[email protected]>
@IBMJimmyk
Copy link
Contributor Author

@hzongaro When you have some time, could you look at this?

Copy link
Contributor

@hzongaro hzongaro left a 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!

@hzongaro
Copy link
Contributor

hzongaro commented Nov 1, 2024

Jenkins build all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants