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

Fix JNI performance regression #7763

Merged
merged 1 commit into from
Nov 20, 2019
Merged

Conversation

zl-wang
Copy link
Contributor

@zl-wang zl-wang commented Nov 13, 2019

This is to check in OpenJ9 side refactoring first before OMR side fix can be check
in.

It was caused by changes committed for OpenJ9 issue #4893. When JNILinkage is not
set on the method symbol anymore, OutOfLine performCall eventully evaluated it
through PrivateLinkage and stuck in interpreter. The fundamental reason is that
a new node is created for performCall but the isPreparedForJNI flag is not copied
over and performCall doesn't get the linkage right.

Signed-off-by: Julian Wang zlwang@ca.ibm.com

This is to check in OpenJ9 side refactoring first before OMR side fix can be check
in.

It was caused by changes committed for OpenJ9 issue eclipse-openj9#4893. When JNILinkage is not
set on the method symbol anymore, OutOfLine performCall eventully evaluated it
through PrivateLinkage and stuck in interpreter. The fundamental reason is that
a new node is created for performCall but the isPreparedForJNI flag is not copied
over and performCall doesn't get the linkage right.

Signed-off-by: Julian Wang <zlwang@ca.ibm.com>
@zl-wang
Copy link
Contributor Author

zl-wang commented Nov 14, 2019

@DanHeidinga take this forward?

@DanHeidinga
Copy link
Member

@DanHeidinga take this forward?

Sorry @zl-wang, I'm not clear on what your asking for here. I'm not the right person to review this (@gita-omr maybe?) but if you're asking if we should fix a JNI performance issue, I don't see why we wouldn't.

What am I missing here?

@zl-wang
Copy link
Contributor Author

zl-wang commented Nov 15, 2019

I would ask @0xdaryl to review then.

@0xdaryl
Copy link
Contributor

0xdaryl commented Nov 15, 2019

Jenkins test sanity plinux,aix jdk11

@zl-wang
Copy link
Contributor Author

zl-wang commented Nov 20, 2019

@0xdaryl moving forward?

@0xdaryl 0xdaryl merged commit 240b236 into eclipse-openj9:master Nov 20, 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.

None yet

4 participants