Integrated: 8276990: Memory leak in invoker.c fillInvokeRequest() during JDI operations
Roman Kennke
rkennke at openjdk.java.net
Thu Feb 3 07:28:14 UTC 2022
On Tue, 1 Feb 2022 14:44:43 GMT, Roman Kennke <rkennke at openjdk.org> wrote:
> We observe a native memory leak when repeating JDI operations from Eclipse in a debuggee JVM. See bug report for details.
>
> AFAICT, this happens because we override methodSignature of a possible pre-existing request object. I am not sure if there is a better place to deallocate the signature.
>
> Also, I am not sure how to make an automated test for this. We (that is, the customer that reported the problem) verified that the memory leak disappears with the fix.
>
> Testing:
> - [x] tier1
> - [x] tier2
> - [ ] tier3
> - [x] Customer confirming fix of memory leak
This pull request has now been integrated.
Changeset: 5ab22e88
Author: Roman Kennke <rkennke at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/5ab22e88da8d79f9e19e8afffdd06206f42bab94
Stats: 5 lines in 1 file changed: 5 ins; 0 del; 0 mod
8276990: Memory leak in invoker.c fillInvokeRequest() during JDI operations
Reviewed-by: sspitsyn, cjplummer
-------------
PR: https://git.openjdk.java.net/jdk/pull/7306
More information about the serviceability-dev
mailing list