Richard Eckart de Castilho created UIMA-6400:
------------------------------------------------

             Summary: UimaContextHolder threadlocal can leak
                 Key: UIMA-6400
                 URL: https://issues.apache.org/jira/browse/UIMA-6400
             Project: UIMA
          Issue Type: Bug
          Components: Core Java Framework
            Reporter: Richard Eckart de Castilho


When a UIMA context is set in the {{UimaContextHolder}} e.g. when a component 
initializes or processes - and then the component spawns a new thread, then the 
{{UimaContextHolder}} is inherited by the spawned thread. If the thread does 
not get garbage collected (e.g. because it is part of a global executor pool), 
then the {{UimaContext}} held by the {{UimaContextHolder}} can live way beyond 
its projected life-time without being garbage-collectable.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to