[jdk20] Integrated: 8298084: Memory leak in Method::build_profiling_method_data
Coleen Phillimore
coleenp at openjdk.org
Tue Dec 13 13:06:18 UTC 2022
On Fri, 9 Dec 2022 16:16:00 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.
This pull request has now been integrated.
Changeset: 04b8d0cf
Author: Coleen Phillimore <coleenp at openjdk.org>
URL: https://git.openjdk.org/jdk20/commit/04b8d0cf5c964e16c583b66d9ab43a8c9a85fd72
Stats: 39 lines in 6 files changed: 21 ins; 1 del; 17 mod
8298084: Memory leak in Method::build_profiling_method_data
Co-authored-by: Justin King <jcking at openjdk.org>
Reviewed-by: kbarrett, eosterlund, dholmes, jcking, thartmann
-------------
PR: https://git.openjdk.org/jdk20/pull/13
More information about the hotspot-dev
mailing list