RFR: 8269064: Dropped messages of AsyncLogWriter cause memleak

David Holmes david.holmes at oracle.com
Mon Jun 21 07:25:55 UTC 2021


Hi Xin,

I think this needs to be fixed in 17 so please create a PR against 17 
and change the fix version of the JBS issue to 17.

Thanks,
David

On 21/06/2021 5:10 pm, Xin Liu wrote:
> free c-strings of the dropped messages.
> 
> This patch added KVHashtable::remove(K), which allows user to remove the
> useless entries from the hashtable. Remove the corresponding entry from
> AsyncLogWriter::_stats when the output is about to delete.
> 
> -------------
> 
> Commit messages:
>   - Remove the entry of output in AsyncLogWriter when delete the output.
>   - 8269064: Dropped messages of AsyncLogWriter cause memleak
> 
> Changes: https://git.openjdk.java.net/jdk/pull/4537/files
>   Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=4537&range=00
>    Issue: https://bugs.openjdk.java.net/browse/JDK-8269064
>    Stats: 143 lines in 6 files changed: 142 ins; 0 del; 1 mod
>    Patch: https://git.openjdk.java.net/jdk/pull/4537.diff
>    Fetch: git fetch https://git.openjdk.java.net/jdk pull/4537/head:pull/4537
> 
> PR: https://git.openjdk.java.net/jdk/pull/4537
> 


More information about the hotspot-dev mailing list