RFR: 8269064: Dropped messages of AsyncLogWriter cause memleak

David Holmes david.holmes at oracle.com
Mon Jun 21 09:40:08 UTC 2021


Hi Xin,

On 21/06/2021 6:05 pm, Xin Liu wrote:
> On Mon, 21 Jun 2021 07:02:09 GMT, Xin Liu <xliu at openjdk.org> 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.
> 
> hi, David,
> 
> I change "Fix Version/s" of JDK-8269064  to 17.
> 
> Do you mean I need close this PR and create a PR from jdk17 instead?

Yes.

> Now jdk is pointing to 18. Shouldn't I work on jdk first and backport it to jdk17 then?

Not during RDP1. If you want a fix to be in 17 then put it into 17 first 
and it will be automatically forward-ported to 18, but only during RDP1.

Thanks,
David

> thanks,
> --lx
> 
> -------------
> 
> PR: https://git.openjdk.java.net/jdk/pull/4537
> 


More information about the hotspot-dev mailing list