Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-1393

UimaSerializer should make use of ThreadLocal

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 2.3AS
    • Async Scaleout
    • None

    Description

      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.

      Attachments

        1. UIMA-1393.patch
          6 kB
          Jörn Kottmann

        Activity

          People

            cwiklik Jaroslaw Cwiklik
            joern Jörn Kottmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: