Investigate SymbolTable in SAXParser

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 9
    • Affects Version/s: 9
    • Component/s: xml
    • None
    • b158
    • Verified

        During removal of SAAJ dependencies to JDK xml internal apis, there were removed a piece of code, resetting SymbolTable in cached SaxParsers. This may cause heap OOM error. Here is original issue, which induced resetting SymbolTables:

        https://java.net/jira/browse/SAAJ-46

        Resetting SymbolTables was pushed as temporary fix, until this is resolved:

        https://java.net/jira/browse/JAXP-59

        I have checked a SAAJ code and didn't found any better solution, than to not cache sax parsers at all. But I am not sure what performance impact it may have on saaj/jaxws.

        Aleksej can you check if resetting SymbolTable can be done in SaxParser#reset ?

              Assignee:
              Aleksej Efimov
              Reporter:
              Roman Grigoriadi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: