[jboss-dev-forums] [JBoss AS7 Development] - AS 7 startup time showdown

Carlo de Wolf do-not-reply at jboss.com
Thu Jun 30 13:55:31 EDT 2011


Carlo de Wolf [http://community.jboss.org/people/wolfc] commented on the document

"AS 7 startup time showdown"

To view all comments on this document, visit: http://community.jboss.org/docs/DOC-16971#comment-6910

--------------------------------------------------
I can shave a couple of ms off by having every jar stored instead of zipped. (The Inflater.inflateBytes takes some times.)

Most time is spend in Class.defineClass1. I don't think we can do much about that except "-noverify".

Another notable is XML parsing. It uses String.charAt a lot, which can be improved by rewriting woodstox to use CharSequence which you back with an implementation that has no offset (thus no checks). That gives you 20-40% char handling performance improvements.
--------------------------------------------------

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


More information about the jboss-dev-forums mailing list