-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
8332327: Return _methods_jmethod_ids field back in VMStructs #19254
Conversation
👋 Welcome back apangin! A progress list of the required criteria for merging this PR into |
@apangin This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 13 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@plummercj, @sspitsyn, @coleenp, @shipilev) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
@coleenp Could you please review the PR since it reverts one line from one of your previous commits. Thanks. |
/label serviceability |
@plummercj |
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
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.
Looks good and low risk.
/integrate |
Please wait 24 hours before attempting to integrate. In other words: Do not sponsor this until 24 hours has passed since opening the PR. |
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.
This is fine to revert. I didn't see this field in SA so eagerly removed it.
OTOH, I would say this is good and trivial, so the usual 24 hour rule does not really apply. :) |
/sponsor |
Going to push as commit d84a8fd.
Your commit was automatically rebased without conflicts. |
The fix for JDK-8313332 has removed
InstanceKlass::_methods_jmethod_ids
field from VMStructs.This broke async-profiler, since the profiler needs this field to obtain jmethodID in some corner cases.
There was no actual need for removal, as the field is still there in InstanceKlass. So, I propose to return the field back to restore the broken functionality of async-profiler. This is a no risk change, because it only exports an offset of one field and does not affect the JVM otherwise.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/19254/head:pull/19254
$ git checkout pull/19254
Update a local copy of the PR:
$ git checkout pull/19254
$ git pull https://git.openjdk.org/jdk.git pull/19254/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 19254
View PR using the GUI difftool:
$ git pr show -t 19254
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/19254.diff
Webrev
Link to Webrev Comment