-
Notifications
You must be signed in to change notification settings - Fork 729
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
Do not skip InjectedInvoker class in getCallerClass and getStackClass #18285
Conversation
ping @babsingh |
1130583
to
3bcbc49
Compare
Preliminary build to test the changes: jenkins test sanity.functional,sanity.openjdk zlinuxojdk292 jdk11 Link: https://openj9-jenkins.osuosl.org/job/PullRequest-OpenJ9/4558/ |
@fengxue-IS Can you also review this PR? |
d217b6e
to
3b322d3
Compare
e4ec4ab
to
4cedc3c
Compare
This patch fixes both eclipse-openj9#14553 and eclipse-openj9#18245. When OJDK MHs are enabled for JDK11, the Hidden attribute for InjectedInvoker classes caused getStackClass and getCallerClass to return the incorrect class. The solution is to not iterate over InjectedInvoker classes despite them having the J9AccMethodFrameIteratorSkip modifier set due to the Hidden attribute. Closes: eclipse-openj9#14553 eclipse-openj9#18245 Signed-off-by: Nathan Henderson <[email protected]>
jenkins test sanity.functional,sanity.openjdk zlinux jdk11,jdk17 |
jenkins test sanity.functional,sanity.openjdk xlinuxojdk292 jdk8,jdk11 |
jenkins compile winojdk292 jdk11 |
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.
All failures in the PR builds are known failures. @ThanHenderson Can you double-check this for me?
@fengxue-IS Do these changes look good to you?
JDK8 failures are known. The JDK11 failures are also known to be intermittent failures regardless of OJDK MHs. To be sure, I've tested the x64 JDK11 failure locally and it passed on 2000 iterations. |
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.
lgtm
This patch fixes both #14553 and #18245. When OJDK MHs are enabled for JDK11, the Hidden attribute for InjectedInvoker classes caused getStackClass and getCallerClass to return the incorrect class. The solution is to not iterate over InjectedInvoker classes despite them having the J9AccMethodFrameIteratorSkip modifier set due to the Hidden attribute.
Closes: #14553 #18245
Signed-off-by: Nathan Henderson [email protected]