Performance: Improve the FactoryRegistry code
---------------------------------------------
Key: AXIS2-3399
URL: https://issues.apache.org/jira/browse/AXIS2-3399
Project: Axis 2.0 (Axis2)
Issue Type: Improvement
Components: jaxws
Reporter: Rich Scheuerle
Assignee: Rich Scheuerle
Problem Summary:
The FactoryRegistry code is used by the JAX-WS implementation to plug in
various implementation factories.
The factories are put into the registry infrequently (startup).
The factories are obtained frequently.
The current code uses a Hashtable to store the factories. The synchronization
degrades performance.
Solution:
This solution was proposed by David Strite of the IBM Performance team.
We will be removing the Hashtable implementation and replacing it with a "copy
on put" pattern as described by:
http://www.ibm.com/developerworks/java/library/j-hashmap.html
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]