RFR: 8276990: Memory leak in invoker.c fillInvokeRequest() during JDI operations
Roman Kennke
rkennke at openjdk.java.net
Tue Feb 1 19:36:09 UTC 2022
On Tue, 1 Feb 2022 19:26:19 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:
> Shouldn't this be done when the invoke has completed rather than at the start of the next invoke? Otherwise you potentially have one outstanding allocation for every thread, and you still have a leak when the thread exits.
Yes, perhaps. Please help me, where would be a good and reliable place to do that? Towards the end of invoker_doInvoke() ?
-------------
PR: https://git.openjdk.java.net/jdk/pull/7306
More information about the serviceability-dev
mailing list