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 redundant call transformation #20951

Conversation

ehsankianifar
Copy link
Contributor

Redundant getComponentType() transformation was observed in value propagation optimization. Adding condition to perform this transformation only in last time through run.
@hzongaro

@ehsankianifar ehsankianifar force-pushed the PreventRedundantGetComponentTypeCallTransformation branch from eb013df to 26276d4 Compare January 16, 2025 19:06
@ehsankianifar
Copy link
Contributor Author

I tested manually. Works as expected. currently running some JDK8, 11, and 21 builds.

@hzongaro hzongaro self-assigned this Jan 16, 2025
Copy link
Member

@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 this change looks good. Thanks!

@hzongaro
Copy link
Member

Jenkins test sanity.functional,sanity.openjdk xlinux,alinux jdk8,jdk17,jdk21

@hzongaro
Copy link
Member

Sorry I missed this, but once testing has completed, may I ask you to update the commit comment so that each line is no more than 72 characters long, as described in the Commit Guidelines?

@hzongaro
Copy link
Member

@ehsankianifar, it looks CI testing ran successfully. May I ask you to update the commit comment?

Redundant getComponentType() transformation was observed in
value-propagation optimization. Adding condition to perform this
transformation only in last time through run.

Signed-off-by: Ehsan Kiani Far <[email protected]>
@ehsankianifar
Copy link
Contributor Author

All the checks passed. I Amend the commit to fix Description length.

@ehsankianifar ehsankianifar force-pushed the PreventRedundantGetComponentTypeCallTransformation branch from 26276d4 to c5e34bb Compare January 17, 2025 15:20
@hzongaro
Copy link
Member

This is a very safe change, and testing was completely successful. Merging.

@hzongaro hzongaro merged commit 0f6d18b into eclipse-openj9:master Jan 17, 2025
2 checks passed
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