[jboss-dev-forums] [Design the new POJO MicroContainer] - Performance - Update
adrian@jboss.org
do-not-reply at jboss.com
Fri Jul 25 10:04:03 EDT 2008
Since 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)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166674#4166674
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166674
More information about the jboss-dev-forums
mailing list