[jboss-jira] [JBoss JIRA] Created: (JBCL-12) Add a cache of found resources by root to the VFSClassLoader

Adrian Brock (JIRA) jira-events at lists.jboss.org
Wed May 21 09:53:59 EDT 2008


Add a cache of found resources by root to the VFSClassLoader
------------------------------------------------------------

                 Key: JBCL-12
                 URL: http://jira.jboss.com/jira/browse/JBCL-12
             Project: JBoss ClassLoader
          Issue Type: Task
          Components: VFS
            Reporter: Adrian Brock
         Assigned To: Adrian Brock
             Fix For: JBossCL.2.0.0.CR1


When defining a class in the VFSClassLoader we use findChild() a number of times;

1) In the search of the classloaders to see whether the classloader has the class
2) To open the byte stream of the class
3) To determine the protection domain of the class (i.e. the root of class)
4) To locate the manifest to determine package information

Some of this already has a cache in various places. But this could be further optimised
by caching of resource path -> vfs file/root during the defineClass()


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list