-
Notifications
You must be signed in to change notification settings - Fork 710
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 missing VarHandle signature restore for JITServer #8410
Add missing VarHandle signature restore for JITServer #8410
Conversation
After creating the resolvedMethod in TR_ResolvedJ9JITServerMethod::getResolvedPossiblyPrivateVirtualMethod, we forgot to restore method signatures for VarHandle access methods. Fixes: eclipse-openj9#8370 Signed-off-by: Harry Yu <harryyu1994@gmail.com>
e498c4b
to
8645d7b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good find! I understand now why it was missed in the first place: what we get from the cache is not a resolvedMethod, but the information to create a new resolvedMethod, so after this new resolveMethod is created we still need to adjust its signature.
LGTM
Jenkins test sanity xlinuxjit jdk11 |
Infra failure, so I am going to trigger the test again |
Jenkins test sanity xlinuxjit jdk11 |
Another infra failure:
|
Jenkins test sanity xlinuxjit jdk11 |
1 similar comment
Jenkins test sanity xlinuxjit jdk11 |
Yet another infra failure
|
Jenkins test sanity plinuxjit jdk11 |
Tests on Power Java11 have passed. The one failure is actually a test problem in that the test expects a certain output and the message from JITServer is unexpected for it.
|
Jenkins test sanity xlinuxjit jdk11 |
On x86 we have two failures: one is
I think we've seen this test fail before. |
After creating the resolvedMethod in TR_ResolvedJ9JITServerMethod::getResolvedPossiblyPrivateVirtualMethod,
we forgot to restore the method signature for VarHandle access methods.
Fixes: #8370
Signed-off-by: Harry Yu harryyu1994@gmail.com