Uploaded image for project: 'XalanJ2'
  1. XalanJ2
  2. XALANJ-1844

XMLReaderManager provides neither no way to clear its cache nor it clears its cache by itself

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Unresolved
    • Affects Version/s: 2.7.1
    • Fix Version/s: 2.7
    • Component/s: Other
    • Security Level: No security risk; visible to anyone (Ordinary problems in Xalan projects. Anybody can view the issue.)
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: All
    • Bugzilla Id:
      28082

      Description

      Considering a hightly multithreaded system, where threads have a short living
      time, and some of the threads perform XSLT transformation, but only once, the
      JVM soons reaches memory saturation, since XMLReaders are never re-used.

      I would suggest maybe to keep the ThreadLocal mecanism instead of the map +
      ThreadLocal duet which appears redondant to me, but maybe i am missing some point ?

      André

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                zongaro@ca.ibm.com Henry Zongaro
                Reporter:
                andre.doherty@libertysurf.fr Andre Doherty
              • Votes:
                3 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: