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

excessive number of xml xerces objects allocated, slow deployment operations

XMLWordPrintable

    • 1.2.0
    • 1.2.2
    • sparc
    • generic

      I deployed a simpleHello ear through cts harness to RI 1.4 b22, which contains a ejb.jar and an appclient jar. The whole process(deploy, undeploy, check if installed, setRuntimeInfo) was very slow and Optimizeit shows a large number of xerces objects were allocated:
      4217 org.apache.xerces.xml.parser.XMLInputSource (4139 allocated by org.apache.xerces.impl.XMLEntityManager.startEntity(); 39 by org.apache.xerces.util.EntityResolverWrapper.resolveEntity(); 22 by org.apache.xerces.impl.XMLEntityManager.resolveEntity(); 15 by org.apache.xerces.parsers.AbstractSAXParser.parse(); 2 by org.apache.xerces.parsers.DOMParser.parse())

      4139 instances allocated by XMLEntityManager.startEntity() seems abnormal.
      Same number (4217) of org.apache.xerces.impl.XMLEntityManager$ScannedEntity was also allocated.
      More info will be provided if needed.

            gsharmasunw Gopal Sharma (Inactive)
            chengfang Cheng Fang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: