You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2004/02/10 21:24:42 UTC
DO NOT REPLY [Bug 26840] New: -
MethodCache.getMethod() causes unneeded classloader thrash
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26840>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26840
MethodCache.getMethod() causes unneeded classloader thrash
Summary: MethodCache.getMethod() causes unneeded classloader
thrash
Product: Axis
Version: 1.2 Alpha
Platform: All
OS/Version: All
Status: NEW
Severity: Major
Priority: Other
Component: Basic Architecture
AssignedTo: axis-dev@ws.apache.org
ReportedBy: shemnon@yahoo.com
When getMethod cannot find a method in the catch block it tries to use
<classname>_Helper. The problem is, it does it for every class even primatives
and java classes. This causes a lot of needless web server hits when used
inside an applet looking for stuff like boolean_Helper
javax/xml/namespace/QName_Helper java/lang/String_helper and other silliness
many multiples of times, much more than just once!
Inside the catch block we can check for primatives and java./javax. classes and
not even try.
Patch to follow.