-
Notifications
You must be signed in to change notification settings - Fork 39
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
8349539: [leyden] Allow dumping nmethods that reference archived hidden klasses #33
Conversation
👋 Welcome back shade! A progress list of the required criteria for merging this PR into |
@shipilev 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 3 new commits pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the 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 (@iwanowww, @vnkozlov) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
Webrevs
|
Look at "user" time, this is what we save without recompiling the methods that get bailed from the archive.
|
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.
I agree that the restriction for hidden classes can be lifted.
But there are non-default modes where it still matters (UseMetadataPointers == true
).
I suggest to keep klass->is_hidden()
check, but move it down to guard symbolic resolution case.
FWIW, I believe
Could you point me where exactly? I think there is a fair amount of symmetry against the hidden method checks here, so I moved the check to the same place: leyden/src/hotspot/share/code/SCCache.cpp Lines 1780 to 1783 in 7bf2c6a
|
I started implementation of Code caching using only symbolic resolution in relocations. When it is integrated with other changes I left such capability guarded by this flag. |
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 to me.
Current GHA failures should be fixed by #35. |
Are we good with this, @iwanowww? Is this the correct place to move the check? |
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.
Thanks! /integrate |
/sponsor |
Going to push as commit 242a98c.
Your commit was automatically rebased without conflicts. |
Studying the bailout reasons for JavacBenchApp, I notices the majority of nmethod store bailouts are due to referencing the hidden klasses. Those checks seem to be from the initial commit. I wonder if we can actually skip hidden klass checks, now that we archive lots of those since invokedynamic AOT was implemented.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/leyden.git pull/33/head:pull/33
$ git checkout pull/33
Update a local copy of the PR:
$ git checkout pull/33
$ git pull https://git.openjdk.org/leyden.git pull/33/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 33
View PR using the GUI difftool:
$ git pr show -t 33
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/leyden/pull/33.diff
Using Webrev
Link to Webrev Comment