RFR: JDK-8298084: Memory leak in Method::build_profiling_method_data [v2]
David Holmes
dholmes at openjdk.org
Thu Dec 8 06:01:54 UTC 2022
On Thu, 8 Dec 2022 05:53:43 GMT, Justin King <jcking at openjdk.org> wrote:
> Yeah, that is what I was thinking. https://github.com/jcking/jdk/commit/5f1aad3723b56566428df7b4780ef2d5ca87f29d is an example of this approach.
That is somewhat more elaborate/complex than I envisaged - and I'm not sure all those C++ features are usable in hotspot at present. Can we just add a specialized version of `free_metadata` for `MethodData` which takes the extra parameter?
-------------
PR: https://git.openjdk.org/jdk/pull/11526
More information about the hotspot-dev
mailing list