You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jörn Kottmann (JIRA)" <ui...@incubator.apache.org> on 2009/06/23 12:18:07 UTC

[jira] Created: (UIMA-1393) UimaSerializer should make use of ThreadLocal

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


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.


[jira] Assigned: (UIMA-1393) UimaSerializer should make use of ThreadLocal

Posted by "Marshall Schor (JIRA)" <ui...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-1393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marshall Schor reassigned UIMA-1393:
------------------------------------

    Assignee: Jerry Cwiklik

> 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
>            Assignee: Jerry Cwiklik
>            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.


[jira] Updated: (UIMA-1393) UimaSerializer should make use of ThreadLocal

Posted by "Jörn Kottmann (JIRA)" <ui...@incubator.apache.org>.
     [ 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.


[jira] Closed: (UIMA-1393) UimaSerializer should make use of ThreadLocal

Posted by "Jerry Cwiklik (JIRA)" <ui...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-1393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jerry Cwiklik closed UIMA-1393.
-------------------------------

    Resolution: Fixed

Applied Jorn's 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
>            Assignee: Jerry Cwiklik
>            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.