axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rich Scheuerle (JIRA)" <>
Subject [jira] Created: (AXIS2-2495) JAX-WS Performance (SpineImpl should close XMLStreamReader)
Date Tue, 10 Apr 2007 17:16:32 GMT
JAX-WS Performance (SpineImpl should close XMLStreamReader)

                 Key: AXIS2-2495
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
            Reporter: Rich Scheuerle
         Assigned To: Rich Scheuerle

The JAX-WS XMLSpineImpl code uses an OMSourcedElement to store the data (normally a JAXB object)
in the OM

During performance analysis we realized that even though the code is pulling all of the body
events to create the JAXBElement, 
the remainder of the events in the message are not pulled.  This means that the XMLStreamReader
(and ultimately the parser) is never closed.

Failure to close the parser can result in severe performance penalties, which are dependent
on the parser implemenation.  For example, the parser may not adequately free its resources.

Prior to these changes, I tagged the code in XMLSpineImpl with a TODO statement to review
the code.

In a few minutes I will commit the real fix.  This should not cause any logical differences.


This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message