Use StringBuilder instead of StringBuffer to avoid locking

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 1.4.0
    • Affects Version/s: 1.4.0
    • Component/s: xml
    • h1186
    • generic
    • generic
    • Verified

      The following methods can show up as having high lock times which are using StringBuffer in some xml workloads. These may be able to be migrated to using StringBuilder:
      - com.sun.org.apache.xalan.internal.xsltc.dom.NodeCounter.formatNumbers(int[])
      - com.sun.org.apache.xerces.internal.dom.DefferredDocumentImpl.getNodeValueString(int, boolean)
      - com.sun.org.apache.xerces.internal.parsers.AbstractDOMParser.reset()
      - com.sun.org.apache.xalan.xsltc.runtime.StringValueHandler.getValue()

            Assignee:
            Joe Wang
            Reporter:
            Charlie Hunt (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: