Friday, August 17, 2007

Turbo-charging JVM startup times

Startup time on JVMs especially when running standalone classes, JFrames, etc on a client has always been a bit slow. In many cases the JVM is often run multiple times asynchronously. Enter class data sharing.

JDK 5+ for the Java HotSpot client VM has included a feature that loads a series of startup classes in a common shared location. This is good, so that when the JVM starts up it no longer needs to load common classes because they are shared in memory. The more core classes being used, the more time is saved on startup. Woohoo!

See a more detailed description here...

No comments: