RFR: 8282314: nsk/jvmti/SuspendThread/suspendthrd003 may leak memory
David Holmes
dholmes at openjdk.java.net
Thu Mar 10 04:55:34 UTC 2022
On Thu, 10 Mar 2022 03:55:01 GMT, Chris Plummer <cjplummer 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.
@plummercj - see https://bugs.openjdk.java.net/browse/JDK-8282704 for StopAtExit.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7764
More information about the hotspot-runtime-dev
mailing list