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

Justin King jcking at openjdk.org
Thu Feb 23 22:56:12 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>

callback->alloc is jvmtiAllocate and callback->free is jvmtiDeallocate. It is setup in transport.c, which is also the one which frees. So it is fine in this case.

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

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


More information about the serviceability-dev mailing list