RFR: 8282314: nsk/jvmti/SuspendThread/suspendthrd003 may leak memory

Daniel D.Daugherty dcubed at openjdk.java.net
Wed Mar 9 20:50:11 UTC 2022


A trivial fix to solve a memory leak/memory pinning for long runs of suspendthrd003.

See the bug report for the gory analysis details.

This fix was included in my jdk-19+12 stress runs so the updated test was executed
in the  NSK JVM/TI testsuite for 3 runs in {fastdebug,release,slowdebug} configs. The
test was also executed in parallel for 3 runs with my StressWrapper_StopAtExit config
for 101 minutes in {fastdebug,release,slowdebug} configs. Lastly, the updated test was
tested with Mach5 Tier[1567] with no failures on any platform.

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

Commit messages:
 - 8282314.cr0.patch

Changes: https://git.openjdk.java.net/jdk/pull/7764/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7764&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8282314
  Stats: 12 lines in 2 files changed: 10 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7764.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7764/head:pull/7764

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


More information about the hotspot-runtime-dev mailing list