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

Use symRef with known obj index for known parms #3960

Merged
merged 1 commit into from
Jun 18, 2019

Conversation

cathyzhyi
Copy link
Contributor

If known object information is avaible for the method receiver, use
known object index to create the parm symbol reference. Optimizations
can make use of the info without running global VP which is very
expensive and doesn't kick in at warm.

Signed-off-by: Yi Zhang yizhang@ca.ibm.com

@@ -130,6 +130,11 @@ class OMR_EXTENSIBLE ResolvedMethodSymbol : public TR::MethodSymbol

void addVariableSizeSymbol(TR::AutomaticSymbol *s);

/*
* Get known object index of a parameter if there is any known object information available
Copy link
Contributor

Choose a reason for hiding this comment

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

can you describe what slot is and how counting works for a call since OMR is not Java and a slot can be an ambiguous concept...

Copy link
Contributor Author

@cathyzhyi cathyzhyi Jun 6, 2019

Choose a reason for hiding this comment

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

Thanks for pointing that out! changed from slot to ordinal and added an explanation.

@cathyzhyi cathyzhyi force-pushed the parmsymbol branch 3 times, most recently from 2776f5c to 6566179 Compare June 6, 2019 15:18
If known object information is avaible for the method receiver, use
known object index to create the parm symbol reference. Optimizations
can make use of the info without running global VP which is very
expensive and doesn't kick in at warm.

Signed-off-by: Yi Zhang <yizhang@ca.ibm.com>
@0xdaryl
Copy link
Contributor

0xdaryl commented Jun 18, 2019

@genie-omr build all

@0xdaryl 0xdaryl self-assigned this Jun 18, 2019
@0xdaryl 0xdaryl merged commit 5ba6fd8 into eclipse-omr:master Jun 18, 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.

3 participants