-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
8257234 : Add gz option to SA jmap to write a gzipped heap dump #1712
Closed
+635
−106
Closed
Changes from 2 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
a915f06
8257234 : Add gz option to SA jmap to write a gzipped heap dump
linzang 909ee24
refine comments
linzang ef353ac
delete unnecessary print
linzang e7b5358
refine segment heap dump
linzang c720aca
Merge branch 'master' into sa
linzang b11434a
code refine
linzang 8dc6057
fix issue of setting gz option with no value
linzang 49a3a92
fix serveral issues and add test cases
linzang efad1b4
fix coding style issue
linzang d1f5494
fix commandline argument issue and refine test cases
linzang 5a00c25
update copyright info
linzang 0d6d69d
fix issue cause JMapHProfLargeHeapTest fail and code refine
linzang 876c851
fix code in CommandProcessor
linzang db38b6a
fix the logic of using gz= as file name
linzang 51b2e73
fix jcmd jmap issue and add test in BascJMapTest and code refine
linzang 0d30aaf
fix an issue of double printing error message.
linzang 0aa703d
refine help message and also refactor the logic in CommandProcessor
linzang 86f358a
revert changes in jcmd jmap
linzang 8f38b97
add test in HeapDumpTest and fix in argument parsing
linzang d87a027
refine code for argument parsing
linzang 47d93a9
remove redundant check
linzang 6fe0f79
refine code in test.
linzang 5b89e75
fix help message issue and Use ByteBuffer for integer writing
linzang 7c25d58
fix indentation isue
linzang 73b6c29
refine the argument name
linzang File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Thanks for updating this test to better check the args, but it looks like I pointed you to the wrong test. This is testing the pmap tool, which already had the gz option. I actually meant for you to add testing for the gz option support you added to "jhsdb jmap --binaryheap" , which is what you added to SALauncher.java. The testing for "jhsdb jmap --binaryheap" is done in test/jdk/sun/tools/jhsdb/HeapDumpTest.java.
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.
Thanks Chris!,
I have created another PR and move jcmd jmap fix and this test case enhancement there. (#2399)
I will add the test in HeapDumpTest.java in this PR.