You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Guozhang Wang (Jira)" <ji...@apache.org> on 2020/09/28 02:17:00 UTC

[jira] [Resolved] (KAFKA-10502) Threadlocal may can not set null,because it may create a memory leak

     [ https://issues.apache.org/jira/browse/KAFKA-10502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guozhang Wang resolved KAFKA-10502.
-----------------------------------
    Fix Version/s: 2.7.0
       Resolution: Fixed

> Threadlocal  may can not set null,because it may create a memory leak
> ---------------------------------------------------------------------
>
>                 Key: KAFKA-10502
>                 URL: https://issues.apache.org/jira/browse/KAFKA-10502
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: huangyiming
>            Priority: Major
>             Fix For: 2.7.0
>
>
> When setting Threadlocal to null it may create a memory leak, you can see the link:
> [https://stackoverflow.com/questions/12424838/threadlocal-remove], so I think we should invoke its remove instead 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)