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

Add eaEscapeHelperSymbol #4665

Merged
merged 1 commit into from
Dec 12, 2019
Merged

Conversation

andrewcraik
Copy link
Contributor

The OpenJ9 Escape Analysis optimization currently overloads the meaning of the OSR
helper callees as part of its analysis. This change introduces a new non-helper
symbol for this optimization pass to use to avoid overloaded meanings and the
resultant confusion in the codebase.

This helper is added to OMR because its aliasing etc must match that of the various other
helpers used for the same purpose and any other language implementing an escape
analysis-like optimization would benefit from the presence of this non-helper.

Signed-off-by: Andrew Craik ajcraik@ca.ibm.com

The OpenJ9 Escape Analysis optimization currently overloads the meaning of the OSR
helper callees as part of its analysis. This change introduces a new non-helper
symbol for this optimization pass to use to avoid overloaded meanings and the
resultant confustion in the codebase.

Signed-off-by: Andrew Craik <ajcraik@ca.ibm.com>
{
if (!element(eaEscapeHelperSymbol))
{
TR::MethodSymbol* sym = TR::MethodSymbol::create(trHeapMemory(), TR_None);
Copy link
Contributor

Choose a reason for hiding this comment

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

Is the rationale for TR_None here that it is not a helper in the sense that it is'nt expected to reach the codegen even ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

correct

@vijaysun-omr
Copy link
Contributor

@genie-omr build all

@vijaysun-omr
Copy link
Contributor

Looks safe to me since this is infrastructure for adding the new symbol. Tests have also passed. Merging.

@vijaysun-omr vijaysun-omr merged commit 623713c into eclipse-omr:master Dec 12, 2019
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