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

Prevent commoning conversion to address operations in LocalCSE #7218

Merged

Conversation

hzongaro
Copy link
Member

@hzongaro hzongaro commented Jan 7, 2024

OMR::LocalCSE::canBeAvailable was restricting l2a operations from being commoned to reduce the likelihood that a register holding the result of such an operation would be marked as a collected reference and kept live across a GC point by l2aEvaluator. To be safest, all conversion to address types should be similarly prevented from being commoned.

This change generalizes the change delivered under pull request #7217.

OMR::LocalCSE::canBeAvailable was restricting l2a operations from being
commoned to reduce the likelihood that a register holding the result of
such an operation would be marked as a collected reference and kept live
across a GC point by l2aEvaluator.  To be safest, all conversion to
address types should be similarly prevented from being commoned.
@hzongaro
Copy link
Member Author

hzongaro commented Jan 7, 2024

@vijaysun-omr, may I ask you to review this change?

Jenkins build all

@hzongaro
Copy link
Member Author

hzongaro commented Jan 7, 2024

Failure in x86-64 macOS testing is due to issue #7181.

@vijaysun-omr
Copy link
Contributor

vijaysun-omr commented Jan 8, 2024

I think it may be good to get a quick review from @jdmpapin too for this PR so that he is in the loop on the short term solution being adopted (I think he had a long term view that Henry documented in the issue for the failure seen recently).

Copy link
Contributor

@jdmpapin jdmpapin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, and thanks for the heads up

@vijaysun-omr vijaysun-omr self-assigned this Jan 8, 2024
@vijaysun-omr vijaysun-omr merged commit e2e3a00 into eclipse:master Jan 8, 2024
16 of 18 checks passed
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.

None yet

3 participants