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

Chris Plummer cjplummer at openjdk.java.net
Thu Mar 10 03:58:35 UTC 2022


On Wed, 9 Mar 2022 20:41:37 GMT, Daniel D. Daugherty <dcubed at openjdk.org> wrote:

> 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.

The fix looks fine, but what about StopAtExit? That test seemed to use a lot more memory than suspendthrd003.

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

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


More information about the hotspot-runtime-dev mailing list