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

Egor Ushakov duke at openjdk.org
Mon Jan 30 20:03:58 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().

looks good to me, thanks

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

Marked as reviewed by gorrus at github.com (no known OpenJDK username).

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


More information about the serviceability-dev mailing list