-
Notifications
You must be signed in to change notification settings - Fork 6.2k
8366716: Move SmapsParser from runtime/os/TestTracePageSizes.java into testlib #27273
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
8366716: Move SmapsParser from runtime/os/TestTracePageSizes.java into testlib #27273
Conversation
|
👋 Welcome back dev-jonghoonpark! A progress list of the required criteria for merging this PR into |
|
@dev-jonghoonpark 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 449 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 (@sendaoYan, @kstefanj) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
|
@dev-jonghoonpark this pull request can not be integrated into git checkout JDK-8366716-create-smapsparser-lib
git fetch https://git.openjdk.org/jdk.git master
git merge FETCH_HEAD
# resolve conflicts and follow the instructions given by git merge
git commit -m "Merge master"
git push |
|
@dev-jonghoonpark The following labels will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing lists. If you would like to change these labels, use the /label pull request command. |
Webrevs
|
|
I converted this PR to a draft due to changes in #27143 |
bff215a to
538b440
Compare
|
I’ve finished merging the changes and switched the status back to 'ready for review.' I have confirmed that both Additionally, I verified that Is this the correct way to verify it? |
|
/label remove core-libs |
|
@AlanBateman |
I think @kstefanj , who wrote the RFE and probably intended to implement it, might have ideas on how to verify this. |
The problem we had in testing (JDK-8366980) was that we saw failures when running with A couple of other comments without doing a proper review is that the new smaps classes should be located along side |
|
I've also tested it using the method that doesn't require altering the code, and it passed successfully. Now, I'll move the path and refactor the code as you reviewed. |
538b440 to
873804c
Compare
|
@dev-jonghoonpark Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See OpenJDK Developers’ Guide for more information. |
|
I have finished refactoring and completed testing locally. |
|
Found some time to look closer at this. I would prefer if we could clean up the I felt it was easier to show you my ideas this way rather than just giving comment. Some names might need improving and some more polishing, but what do you think about the general structure here? |
Signed-off-by: jonghoonpark <dev@jonghoonpark.com>
873804c to
57b1dca
Compare
|
@dev-jonghoonpark Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See OpenJDK Developers’ Guide for more information. |
|
@kstefanj I’ve reviewed the code you wrote, and I think it’s much clearer! // Sorry for rebasing — it’s a habit of mine, and I did it without thinking. I’ll be more careful next time. |
|
@dev-jonghoonpark, thanks for addressing my concerns. I need to look over it again but I'm traveling this week and will have less time than normal for reviews. I'll see if I can find some time, otherwise I will look at this next week. |
kstefanj
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.
Now I've had time to look through this and more or less nothing more to add, just a small update to one comment.
Did run some additional testing as well, which looked good.
Please also add me ass co-author since we now have collaborated on the change, just use the commands:
/contributor add @dev-jonghoonpark
/contributor add @kstefanj
|
@kstefanj Only the author (@dev-jonghoonpark) is allowed to issue the |
|
@kstefanj Only the author (@dev-jonghoonpark) is allowed to issue the |
|
/contributor add @dev-jonghoonpark |
|
@dev-jonghoonpark Syntax:
User names can only be used for users in the census associated with this repository. For other contributors you need to supply the full name and email address. |
|
@dev-jonghoonpark |
Co-authored-by: Stefan Johansson <54407259+kstefanj@users.noreply.github.com>
Signed-off-by: jonghoonpark <dev@jonghoonpark.com>
|
/integrate |
|
@dev-jonghoonpark |
|
/sponsor |
|
Going to push as commit 90cf3a2.
Your commit was automatically rebased without conflicts. |
|
@kstefanj @dev-jonghoonpark Pushed as commit 90cf3a2. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
related jira issue: https://bugs.openjdk.org/browse/JDK-8366716
Following the direction outlined in the issue description,
I've extracted the common parts from
TestTracePageSizesandTestTransparentHugePagesHeapto implement theSmapsParsertest library.I've confirmed that it works without issues in my local tests.
Reviews and feedback are welcome.
Progress
Issue
Reviewers
Contributors
<sjohanss@openjdk.org>Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/27273/head:pull/27273$ git checkout pull/27273Update a local copy of the PR:
$ git checkout pull/27273$ git pull https://git.openjdk.org/jdk.git pull/27273/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 27273View PR using the GUI difftool:
$ git pr show -t 27273Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/27273.diff
Using Webrev
Link to Webrev Comment