Integrated: 8283651: nsk/jvmti/SuspendThread/suspendthrd003 may leak native memory

Daniel D.Daugherty dcubed at openjdk.java.net
Mon May 9 22:06:21 UTC 2022


On Mon, 9 May 2022 20:15:21 GMT, Daniel D. Daugherty <dcubed at openjdk.org> wrote:

> A trivial fix to nsk_jvmti_threadByName() to solve a native memory leak.
> 
> This fix has been stress tested with my StressWrapper60M_NMT_detail_suspendthrd003.java
> test and I did NMT detailed monitoring for the whole 60M run. Total committed memory has
> gone down from 1.17GB to 300MB. Prior to my last rebase, it was down to 239MB.
> 
> I ran the fix thru Mach5 Tier[1-7] with no failures. I just rebased the fix to the latest jdk/jdk
> and Mach5 Tier[1-3] have passed with no failures. Tier[45] are still running.

This pull request has now been integrated.

Changeset: 61450bb0
Author:    Daniel D. Daugherty <dcubed at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/61450bb061ecda9700ddbd387a1f0659ebd1cced
Stats:     7 lines in 1 file changed: 6 ins; 0 del; 1 mod

8283651: nsk/jvmti/SuspendThread/suspendthrd003 may leak native memory

Reviewed-by: lmesnik

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

PR: https://git.openjdk.java.net/jdk/pull/8609


More information about the serviceability-dev mailing list