RFR: JDK-8298084: Memory leak in Method::build_profiling_method_data [v6]
Coleen Phillimore
coleenp at openjdk.org
Fri Dec 9 12:27:59 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>
I want to take over this fix and I will rebase it to JDK 20. Sorry for being so late to remembering how this code works. The LSan tool sounds great. I'll pay attention to that now.
-------------
PR: https://git.openjdk.org/jdk/pull/11526
More information about the hotspot-dev
mailing list