[
https://jira.jboss.org/jira/browse/JBWS-2853?page=com.atlassian.jira.plug...
]
Alessio Soldano updated JBWS-2853:
----------------------------------
Component/s: jbossws-cxf
jbossws-metro
Fix Version/s: jbossws-metro-3.2.2
jbossws-cxf-3.2.2
jbossws-native-3.2.2
Affects Version/s: (was: jbossws-native-3.1.2)
(was: jbossws-native-3.2.1)
Updating fix versions / components as the normalize method is also actually available to
the user for every stack
Ineffective implementation of string normalize method
-----------------------------------------------------
Key: JBWS-2853
URL:
https://jira.jboss.org/jira/browse/JBWS-2853
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: jbossws-cxf, jbossws-metro, jbossws-native
Reporter: Martin Vecera
Assignee: Alessio Soldano
Priority: Critical
Fix For: jbossws-metro-3.2.2, jbossws-cxf-3.2.2, jbossws-native-3.2.2
Attachments: Normalizer.java
At several places in WS native stack there is an ineffective implementation of the
normalize() method. The places are:
* org.jboss.ws.core.binding.SerializerSupport
* org.jboss.ws.core.soap.EnvelopeBuilderStax
I spent several hours trying to optimize the method since there is a massive use of it
and it is a performance bottleneck. The result is attached to this JIRA. It brings at
least 25% performance gain.
IMHO, there should be a separate class for that and this class should be used from all
places. Similar issue is in JBoss Common project (see the linked issue), which seems to be
the most suitable place for the fixed class/method.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira