[jdk17u] RFR: 8268893: jcmd to trim the glibc heap

Thomas Stuefe stuefe at openjdk.java.net
Tue Sep 21 06:03:52 UTC 2021


Hi,

may I please have reviews for this clean backport of 8268893: "jcmd to trim the glibc heap"? 

The command turned out to be very useful to us when analyzing suspected memory leaks. It would be nice to have this in JDK 17.

The associated downport-CSR had been provisionally approved.

Thank you, Thomas

---------
### Progress
- [x] Change must not contain extraneous whitespace
- [x] Commit message must refer to an issue



### Reviewing
<details><summary>Using <code>git</code></summary>

Checkout this PR locally: \
`$ git fetch https://git.openjdk.java.net/jdk17u pull/70/head:pull/70` \
`$ git checkout pull/70`

Update a local copy of the PR: \
`$ git checkout pull/70` \
`$ git pull https://git.openjdk.java.net/jdk17u pull/70/head`

</details>
<details><summary>Using Skara CLI tools</summary>

Checkout this PR locally: \
`$ git pr checkout 70`

View PR using the GUI difftool: \
`$ git pr show -t 70`

</details>
<details><summary>Using diff file</summary>

Download this PR as a diff file: \
<a href="https://git.openjdk.java.net/jdk17u/pull/70.diff">https://git.openjdk.java.net/jdk17u/pull/70.diff</a>

</details>

-------------

Commit messages:
 - Backport 6096dd9765eaf280890f65c0ff1ab64864b9316a

Changes: https://git.openjdk.java.net/jdk17u/pull/70/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk17u&pr=70&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8268893
  Stats: 248 lines in 6 files changed: 222 ins; 9 del; 17 mod
  Patch: https://git.openjdk.java.net/jdk17u/pull/70.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk17u pull/70/head:pull/70

PR: https://git.openjdk.java.net/jdk17u/pull/70


More information about the jdk-updates-dev mailing list