RFR: JDK-8298084: Memory leak in Method::build_profiling_method_data [v2]
Justin King
jcking at openjdk.org
Thu Dec 8 05:01:11 UTC 2022
> Resolve memory leak related to `MethodData::_extra_data_lock` in `Method::build_profiling_method_data` by defining `MethodData::release_C_heap_structures` and calling it where appropriate before deallocating `MethodData`.
Justin King has updated the pull request incrementally with one additional commit since the last revision:
Fix memory leak by calling destructor
Signed-off-by: Justin King <jcking at google.com>
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/11526/files
- new: https://git.openjdk.org/jdk/pull/11526/files/fc35f765..fbced7d3
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=11526&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=11526&range=00-01
Stats: 17 lines in 3 files changed: 0 ins; 10 del; 7 mod
Patch: https://git.openjdk.org/jdk/pull/11526.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/11526/head:pull/11526
PR: https://git.openjdk.org/jdk/pull/11526
More information about the hotspot-dev
mailing list