[jboss-dev-forums] [JBoss AS7 Development] - Weld boot performance

Stuart Douglas do-not-reply at jboss.com
Tue Nov 23 17:25:22 EST 2010


Stuart Douglas [http://community.jboss.org/people/swd847] created the discussion

"Weld boot performance"

To view the discussion, visit: http://community.jboss.org/message/572590#572590

--------------------------------------------------------------
Over the last 2 weeks I have been working on Weld's boot performance, and have managed to reduce it considerably (see  http://lists.jboss.org/pipermail/weld-dev/2010-November/002746.html here for full details).

At the moment the biggest bottleneck is classloading, which consumes about 50% of the startup time. I think a possible solution to this in as7 would be to begin loading the classes eagerly and asynchronously, as soon as a module with a beans.xml is discovered, so that by the time weld starts to boot the majority of the classloading has already been completed.

Does this sound like a workable approach?
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/572590#572590]

Start a new discussion in JBoss AS7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20101123/1ba357b5/attachment.html 


More information about the jboss-dev-forums mailing list