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
8267089: Use typedef KVHashtable for ID2KlassTable #4007
Conversation
|
@kelthuzadx To determine the appropriate audience for reviewing this pull request, one or more labels corresponding to different subsystems will normally be applied automatically. However, no automatic labelling rule matches the changes in this pull request. In order to have an "RFR" email sent to the correct mailing list, you will need to add one or more applicable labels manually using the /label pull request command. Applicable Labels
|
/label add hotspot-runtime |
@kelthuzadx |
Webrevs
|
This is nice! It's not "seems" , we can use typedef. Another nit you can do along with this PR. move * to its class. ID2KlassTable* table() {
return &_id2klass_table;
} |
Hi Xin, do you mean |
I think you patch looks good. in particular, you tuck away ID2KlassTable in . That increases encapsulation. I mean you can change the return type of |
Good catch! Changed. |
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
@kelthuzadx This change now passes all automated pre-integration checks. 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 252 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 (@iklam, @coleenp) but any other Committer may sponsor as well.
|
Thank Xin and Ioi for taking time to look at this PR! /integrate |
@kelthuzadx |
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 looks good to me.
/sponsor |
@iklam @kelthuzadx Since your change was applied there have been 252 commits pushed to the
Your commit was automatically rebased without conflicts. Pushed as commit c2c0208. |
While backporting some stuff to jdk11, I noticed main functionalities of ID2KlassTable have been removed afterJDK-8213587, it seems that we can use a simple typedef KVHashtable instead.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk pull/4007/head:pull/4007
$ git checkout pull/4007
Update a local copy of the PR:
$ git checkout pull/4007
$ git pull https://git.openjdk.java.net/jdk pull/4007/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 4007
View PR using the GUI difftool:
$ git pr show -t 4007
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk/pull/4007.diff