[jdk17] RFR: 8269064: Dropped messages of AsyncLogWriter cause memleak [v2]
David Holmes
dholmes at openjdk.java.net
Tue Jun 22 23:18:30 UTC 2021
On Tue, 22 Jun 2021 18:50:58 GMT, Xin Liu <xliu at openjdk.org> wrote:
>> This patch freed c-strs for the dropped messages. Those c-strs are allocated from os::strdup.
>
> Xin Liu has updated the pull request incrementally with one additional commit since the last revision:
>
> os::free can handle nullptr.
Hi Xin,
This fix looks good and trivial.
Thanks for splitting the two issues.
David
-------------
Marked as reviewed by dholmes (Reviewer).
PR: https://git.openjdk.java.net/jdk17/pull/121
More information about the hotspot-runtime-dev
mailing list