[
https://issues.apache.org/jira/browse/AVRO-1595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16824931#comment-16824931
]
Fokko Driesprong commented on AVRO-1595:
----------------------------------------
It is a weak hashmap, so it should clean itself up.
https://types.cs.washington.edu/plume-lib/api/plume/WeakIdentityHashMap.html
A hashtable-based Map implementation with weak keys. An entry in a
WeakIdentityHashMap will automatically be removed when its key is no longer in
ordinary use.
> Give access to remove threadlocal values
> ----------------------------------------
>
> Key: AVRO-1595
> URL: https://issues.apache.org/jira/browse/AVRO-1595
> Project: Apache Avro
> Issue Type: Improvement
> Components: java
> Reporter: Bryan Baugher
> Priority: Minor
>
> Certain JVM containers like tomcat re-use threads when re-deploying
> applications which can leave behind threadlocal values. It would be great if
> there were something that could be called on shutdown to remove these.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)