Skip to content

[0.43.0] Disable simplifying j9Class to j.l.Class to j9Class #18747

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

Conversation

hzongaro
Copy link
Member

Tree Simplification recognizes an indirect load that gets a java/lang/Class from a j9Class pointer, and then gets the j9Class pointer from that java/lang/Class, can be simplified to refer to the original j9Class pointer itself. However, that introduces an l2a operation which causes problems for Code Generation's l2aEvaluators, as they assume that l2a operations are only used for compressed references. Until the two different kinds of conversions of integers to addresses can be distinguished from one another — as described in eclipse-omr/omr#6508 — this transformation in Tree Simplification will be disabled.

This delivers the contents of pull request #18743 to the 0.43.0-release branch.

Tree Simplification recognizes an indirect load that gets a
java/lang/Class from a j9Class, and then gets the j9Class from that
java/lang/Class can be simplified to refer to the original j9Class
pointer itself.  However, that introduces an l2a operation which causes
problems for Code Generation's l2aEvaluators, as they assume that l2a
operations are only used for compressed references.  Until the two
different kinds of conversions of integers to addresses can be
distinguished from one another, this transformation in Tree
Simplification will be disabled.
@hzongaro
Copy link
Member Author

@pshipton, may I ask you to merge this change to the v0.43.0-release branch?

@pshipton pshipton merged commit edad4bf into eclipse-openj9:v0.43.0-release Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants