Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 62521 invoked from network); 9 Apr 2007 21:52:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Apr 2007 21:52:59 -0000 Received: (qmail 76763 invoked by uid 500); 9 Apr 2007 21:53:00 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 76421 invoked by uid 500); 9 Apr 2007 21:52: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 76399 invoked by uid 99); 9 Apr 2007 21:52:59 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Apr 2007 14:52: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; Mon, 09 Apr 2007 14:52:52 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 48583714074 for ; Mon, 9 Apr 2007 14:52:32 -0700 (PDT) Message-ID: <4942538.1176155552262.JavaMail.jira@brutus> Date: Mon, 9 Apr 2007 14:52:32 -0700 (PDT) From: "Ann Robinson (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Commented: (AXIS2-2490) Avoid the double write in the Message Context serialization to improve performance In-Reply-To: <23705282.1176154772248.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2-2490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12487637 ] Ann Robinson commented on AXIS2-2490: ------------------------------------- Matt Lovett also contributed to this change. Fixed in revision 526930. > Avoid the double write in the Message Context serialization to improve performance > ---------------------------------------------------------------------------------- > > Key: AXIS2-2490 > URL: https://issues.apache.org/jira/browse/AXIS2-2490 > Project: Axis 2.0 (Axis2) > Issue Type: Improvement > Components: kernel > Reporter: Ann Robinson > Assigned To: Ann Robinson > > In the message context serialization, there are some cases where an object needs to be written to a temporary buffer to check whether it will serialize ok or not. This is done to avoid corrupting the actual output stream if an error occurs. To improve performance, try to write the temporary buffer to the actual output stream instead of serializing the object twice. -- 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