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

Jörn Kottmann updated UIMA-1393:
--------------------------------

    Attachment: UIMA-1393.patch

Please review my changes before applying the patch.

> UimaSerializer should make use of ThreadLocal
> ---------------------------------------------
>
>                 Key: UIMA-1393
>                 URL: https://issues.apache.org/jira/browse/UIMA-1393
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Async Scaleout
>            Reporter: Jörn Kottmann
>            Priority: Trivial
>             Fix For: 2.3AS
>
>         Attachments: UIMA-1393.patch
>
>
> The current implementation tries to emulate ThreadLocal with a Map and a 
> lock. Using ThreadLocal directly has the advantage of making
> the code simpler and enabling garbage collection for cached instances when 
> the belonging thread ends.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to