Performance - Update
adrian.brock Jul 25, 2008 10:04 AMSince I started looking at this at the start of the week,
the time to boot in the default config in JBoss5 on my laptop
has dropped from 1 minute to 45 seconds (approximate wall clock timings).
Obviously this is using unreleased versions of the MC project jars
so nobody else will be seeing this at the moment. ;-)
The big things left to do now are;
* Annotation Scanning - Ales's new code
Old code:
java.lang.Throwable.fillInStackTrace(Throwable.java:Unknown line) java.lang.Throwable.<init>(Throwable.java:218) java.lang.Exception.<init>(Exception.java:59) java.lang.ClassNotFoundException.<init>(ClassNotFoundException.java:65) org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:379) java.lang.ClassLoader.loadClass(ClassLoader.java:251) org.jboss.deployment.AnnotatedClassFilter.accepts(AnnotatedClassFilter.java:121) org.jboss.deployment.AnnotatedClassFilter.visit(AnnotatedClassFilter.java:102) org.jboss.virtual.plugins.vfs.helpers.WrappingVirtualFileHandlerVisitor.visit(WrappingVirtualFileHandlerVisitor.java:62) org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:264)
* Looking at the VFS, in particular the
file.getChild() -> getChildren() madness!
org.jboss.virtual.plugins.context.file.FileHandler.getChildren(FileHandler.java:161) org.jboss.virtual.plugins.context.file.FileSystemContext.createVirtualFileHandler(FileSystemContext.java:337) org.jboss.virtual.plugins.context.file.FileSystemContext.createVirtualFileHandler(FileSystemContext.java:256) org.jboss.virtual.plugins.context.file.FileHandler.createChildHandler(FileHandler.java:224) org.jboss.virtual.plugins.context.AbstractVirtualFileHandler.structuredFindChild(AbstractVirtualFileHandler.java:509) org.jboss.virtual.plugins.context.file.FileHandler.getChild(FileHandler.java:233) org.jboss.virtual.VirtualFile.getChild(VirtualFile.java:427) org.jboss.classloading.spi.vfs.policy.VFSClassLoaderPolicy.findChild(VFSClassLoaderPolicy.java:450)