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
8267666: Add option to jcmd GC.heap_dump to use existing file #131
8267666: Add option to jcmd GC.heap_dump to use existing file #131
Conversation
|
This backport pull request has now been updated with issue from the original commit. |
@RealCLanger 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 no new commits pushed to the
|
Don't we need https://bugs.openjdk.java.net/browse/JDK-8234510 to be backported as well? Just want to be sure, since I see |
To be able to use the -overwrite flag for domain sockets or pipes this would be needed, but overwriting an existing file would work. I had not backported my change to 11, because the diff between 15 and 11 was large and it wasn't a bugfix, so not strictly needed. But if there is interest, it should be possible. |
Hm, together with this change actually https://bugs.openjdk.java.net/browse/JDK-8234510 seems more worthwhile to do. Maybe you want to look into bringing it to JDK11 now, @schmelter-sap? In any case, this backport seems to be good as is and does not need JDK-8234510 as a prerequisite, though its use is limited for the moment. |
Yes, it would make sense to downport it now, since we now have an actual use for it. |
I had backport your patch(JDK-8234510 ) here #134 |
/integrate |
Going to push as commit 6762216.
Your commit was automatically rebased without conflicts. |
@RealCLanger Pushed as commit 6762216. |
Backport of the heap dump enhancement. CSR includes update releases.
Patch did not apply cleanly, I had to resolve/modify
src/hotspot/share/services/diagnosticCommand.cpp
src/hotspot/share/services/diagnosticCommand.hpp
src/hotspot/share/services/heapDumper.cpp
src/hotspot/share/services/heapDumper.hpp
Following files do not exist in 11u:
src/hotspot/share/services/heapDumperCompression.cpp
src/hotspot/share/services/heapDumperCompression.hpp
Changes had been made in heapDumper.cpp/heapDumper.hpp
I have built it on linuxx86_64 and verified that the modified test succeeds. Will also run it through SAP's test suite before merging.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk11u-dev pull/131/head:pull/131
$ git checkout pull/131
Update a local copy of the PR:
$ git checkout pull/131
$ git pull https://git.openjdk.java.net/jdk11u-dev pull/131/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 131
View PR using the GUI difftool:
$ git pr show -t 131
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk11u-dev/pull/131.diff