RFR: JDK-8303183: Memory leak in Arguments::init_shared_archive_paths

Justin King jcking at openjdk.org
Fri Feb 24 22:13:12 UTC 2023


On Fri, 24 Feb 2023 19:29:56 GMT, Justin King <jcking at openjdk.org> wrote:

> Fix memory leak by freeing the memory returned by `Arguments::get_default_shared_archive_path()`.

Line 3486 assigns it to `SharedArchivePath` which is static and not overwrote, AFAIK. Before this it was `nullptr`.

-------------

PR: https://git.openjdk.org/jdk/pull/12749


More information about the hotspot-runtime-dev mailing list