Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 5158 invoked from network); 10 Apr 2007 17:16:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Apr 2007 17:16:57 -0000 Received: (qmail 20441 invoked by uid 500); 10 Apr 2007 17:17:00 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 20261 invoked by uid 500); 10 Apr 2007 17:16:59 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 20249 invoked by uid 99); 10 Apr 2007 17:16:59 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Apr 2007 10:16:59 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Apr 2007 10:16:52 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4FD2B71406D for ; Tue, 10 Apr 2007 10:16:32 -0700 (PDT) Message-ID: <6695855.1176225392307.JavaMail.jira@brutus> Date: Tue, 10 Apr 2007 10:16:32 -0700 (PDT) From: "Rich Scheuerle (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Created: (AXIS2-2495) JAX-WS Performance (SpineImpl should close XMLStreamReader) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org JAX-WS Performance (SpineImpl should close XMLStreamReader) ----------------------------------------------------------- Key: AXIS2-2495 URL: https://issues.apache.org/jira/browse/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 tree. 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. Thanks, Rich -- 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: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org