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

Thomas Stuefe stuefe at openjdk.java.net
Tue Sep 28 08:56:00 UTC 2021


On Fri, 10 Sep 2021 14:44:04 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> 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.
> 
> The patch applies cleanly.
> 
> 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>

This pull request has now been integrated.

Changeset: d9350016
Author:    Thomas Stuefe <stuefe at openjdk.org>
URL:       https://git.openjdk.java.net/jdk17u/commit/d93500168cd120165fedb9609fdf2e10458976dd
Stats:     248 lines in 6 files changed: 222 ins; 9 del; 17 mod

8268893: jcmd to trim the glibc heap

Backport-of: 6096dd9765eaf280890f65c0ff1ab64864b9316a

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

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


More information about the jdk-updates-dev mailing list