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

Daniel D.Daugherty dcubed at openjdk.java.net
Thu Mar 10 15:55:42 UTC 2022


On Thu, 10 Mar 2022 04:52:46 GMT, David Holmes <dholmes at openjdk.org> wrote:

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

@dholmes-ora, @plummercj  and @alexmenkov - Thanks for the reviews!

One clarification:

> and only print them if an error actually occurs

Log will also print them if the mode is set to verbose. I manually verified my
fix by setting the log to verbose at the end of the test run and I verified that
I only had logging lines for the last loop rather than all gazillion of them...

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

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


More information about the hotspot-runtime-dev mailing list