I just committed a change to the JRuby startup scripts that boosts startup speed by almost 70% (for me). It loads the JRuby jars (and CLASSPATH) into bootclasspath instead of normal classpath, bypassing verification (and apparently other things, since this is way faster than -Xverify:none). It should also be a safe change; JRuby's core should have been verified a kajillion times before release, and code generated at runtime will be verified as normal.

I've been informed Scala does this as well to speed up their launcher.

Please give it a try with your apps. I'm going to make a small modification so that jars in JRuby's lib are the only ones put in bootclasspath, to prevent third-party jars from bypassing verification as easily, but it won't change general startup time.

http://pastie.org/190150

It is a good day :)

- Charlie

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to