geronimo-xbean-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gert Vanthienen (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (XBEAN-203) Performance improvement by adding local cache for MultiParentClassLoader#loadClass
Date Mon, 26 Mar 2012 12:38:26 GMT
Performance improvement by adding local cache for MultiParentClassLoader#loadClass
----------------------------------------------------------------------------------

                 Key: XBEAN-203
                 URL: https://issues.apache.org/jira/browse/XBEAN-203
             Project: XBean
          Issue Type: Improvement
          Components: classloader
    Affects Versions: 3.7
            Reporter: Gert Vanthienen


While profiling for performance issues on ServiceMix, we noticed a lot of time was spent waiting
for the object lock to access MultiParentClassLoader's loadClass() method, especially when
using things like JAXP.  We managed to get significant improvements by adding a local cache
to avoid the synchronized method invocation for previously loaded classes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message