RFR: 8297638: Memory leak in case of many started-dead threads [v2]

Chris Plummer cjplummer at openjdk.org
Mon Feb 6 20:05:52 UTC 2023


On Thu, 19 Jan 2023 21:59:22 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

>> Fix JDI leak when the debuggee creates a lot of threads, while at the same the debugger is not sending any commands. The lack of commands being sent results in code not being triggered that normally would clear out unreachable listeners and also clear out ObjectReferences queued for disposal.
>
> Chris Plummer has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Cleaned up removeUnreachableListeners().

Ping! I could use one more review. Thanks!

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

PR: https://git.openjdk.org/jdk/pull/12081


More information about the serviceability-dev mailing list