[jdk20] RFR: 8298084: Memory leak in Method::build_profiling_method_data [v6]
Tobias Hartmann
thartmann at openjdk.org
Tue Dec 13 08:36:54 UTC 2022
On Tue, 13 Dec 2022 02:44:44 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
>> This change fixes the MethodData leak by calling the destructor in both the release_C_heap_structures conditionally and by calling the MethodData destructor in the MetadataFactory::free_metadata method.
>> Thanks to @jcking for working on the patch and discussion.
>> Tested with tier1-4.
>
> Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
>
> Even more comment updates. Removed word salad.
Looks good to me. Thanks for fixing!
-------------
Marked as reviewed by thartmann (Reviewer).
PR: https://git.openjdk.org/jdk20/pull/13
More information about the hotspot-dev
mailing list