Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8173390

Investigate SymbolTable in SAXParser

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: xml
    • Labels:
      None
    • Resolved In Build:
      b158
    • Verification:
      Verified

      Backports

        Description

        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 ?

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: