Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-10502

Threadlocal may can not set null,because it may create a memory leak

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.7.0
    • None
    • None

    Description

      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 

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              huangyiminghappy@163.com huangyiming
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: