RFR: JDK-8298084: Memory leak in Method::build_profiling_method_data [v6]

Coleen Phillimore coleenp at openjdk.org
Thu Dec 8 21:30:16 UTC 2022


On Thu, 8 Dec 2022 08:19:26 GMT, Justin King <jcking at openjdk.org> wrote:

>> Resolve memory leak related to `MethodData::_extra_data_lock` in `Method::build_profiling_method_data` by calling `MethodData::~MethodData()`.
>
> Justin King has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Add comment to metaprogramming usage
>   
>   Signed-off-by: Justin King <jcking at google.com>

https://github.com/openjdk/jdk/pull/11601

I think I have an alternative and I posted how it's supposed to work in https://bugs.openjdk.org/browse/JDK-8298346.

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

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


More information about the hotspot-dev mailing list