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

Anchor arguments of MethodHandle invoke before expansion #4357

Merged
merged 1 commit into from
Jan 22, 2019

Conversation

liqunl
Copy link
Contributor

@liqunl liqunl commented Jan 18, 2019

The expansion will insert calls before the original call. Anchor the
arguments such that the evaluation of arguments is before the execution
of the call.

Notice that missing the anchoring does not cause functional issues
because the inserted calls are internal to the JIT and have no side
effect on arguments. However, it prevents us from folding argument that
is a static final field because the inserted calls are unsupported
potential OSR points.

Signed-off-by: Liqun Liu liqunl@ca.ibm.com

@liqunl
Copy link
Contributor Author

liqunl commented Jan 18, 2019

@andrewcraik Can I have you review?

Copy link
Contributor

@andrewcraik andrewcraik left a comment

Choose a reason for hiding this comment

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

LGTM after testing

@andrewcraik
Copy link
Contributor

Jenkins test sanity xlinux,win,plinux jdk8,jdk11

The expansion will insert calls before the original call. Anchor the
arguments such that the evaluation of arguments is before the execution
of the call.

Notice that missing the anchoring does not cause functional issues
because the inserted calls are internal to the JIT and have no side
effect on arguments. However, it prevents us from folding argument that
is a static final field because the inserted calls are unsupported
potential OSR points.

Signed-off-by: Liqun Liu <liqunl@ca.ibm.com>
@andrewcraik
Copy link
Contributor

Jenkins test sanity xlinux,win,plinux jdk8,jdk11

1 similar comment
@andrewcraik
Copy link
Contributor

Jenkins test sanity xlinux,win,plinux jdk8,jdk11

@andrewcraik
Copy link
Contributor

error looks to be a repeat of existing javac issue and unrelated to change - merging

@andrewcraik andrewcraik merged commit cec0909 into eclipse-openj9:master Jan 22, 2019
@liqunl liqunl deleted the mh branch January 24, 2019 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants