-
Notifications
You must be signed in to change notification settings - Fork 142
8374882: [lworld] Update hierarchies in oopsHierarchy.hpp #1874
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
base: lworld
Are you sure you want to change the base?
Conversation
|
👋 Welcome back jsikstro! A progress list of the required criteria for merging this PR into |
|
@jsikstro 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 2 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 (@Arraying, @xmas92, @fparain) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
Webrevs
|
Arraying
left a comment
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.
Long overdue, thanks for doing this. Makes it clear that the refArrayOopDesc is a bit special.
| typedef class typeArrayOopDesc* typeArrayOop; | ||
| typedef class flatArrayOopDesc* flatArrayOop; | ||
| typedef class flatArrayOopDesc* flatArrayOop; | ||
| typedef class refArrayOopDesc* refArrayOop; |
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.
Shouldn't refArrayOopDesc be aligned with flatArrayOopDesc?
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 don't think so:
class refArrayOopDesc : public arrayOopDesc {
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.
But :
class RefArrayKlass : public ObjArrayKlass
So there's an unconsistency here, refArrayOopDesc should be a subclass of objArrayOopDesc.
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 it would be clearer to make refArrayOopDesc inherit from objArrayOopDesc. I'll run some tests to see if it's a simple "switch" to inherit from objArrayOopDesc instead. If it's a trivial change I can add it to this PR and change the hierarchy in oopsHierarchy.hpp, otherwise I suggest we should handle that in a follow-up.
|
I've ran Oracle's tier 1-4, hotspot_valhalla and jdk_valhalla with |
xmas92
left a comment
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.
fparain
left a comment
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.
Thank you for the re-parenting of refArrayOop.
Looks good to me.
Hello,
The hierarchies in oopsHierarchy.hpp are not up to date with the actual class hierarchies in the implementation. I've refered to these a couple of times and stumble on the fact that they are not accurate.
I've tested that this builds locally.
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/valhalla.git pull/1874/head:pull/1874$ git checkout pull/1874Update a local copy of the PR:
$ git checkout pull/1874$ git pull https://git.openjdk.org/valhalla.git pull/1874/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 1874View PR using the GUI difftool:
$ git pr show -t 1874Using diff file
Download this PR as a diff file:
https://git.openjdk.org/valhalla/pull/1874.diff
Using Webrev
Link to Webrev Comment