RFR: JDK-8303071: Memory leaks in libjdwp [v2]

David Holmes dholmes at openjdk.org
Thu Feb 23 22:29:15 UTC 2023


On Wed, 22 Feb 2023 15:19:56 GMT, Justin King <jcking at openjdk.org> wrote:

>> Fix minor memory leaks in libjdwp.
>
> Justin King has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Use jvmtiDeallocate wrapper
>   
>   Signed-off-by: Justin King <jcking at google.com>

Just a sanity check here. That memory was allocated using `*callback->alloc` not `jvmtiAllocate` - is it correct to release with `jvmtiDeallocate`?

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

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


More information about the serviceability-dev mailing list