$10K coding deathmatch

Barry Roberts blr at robertsr.us
Fri Nov 3 09:23:40 MST 2006


On Fri, Nov 03, 2006 at 03:48:36PM -0700, Bryan Sant wrote:
> On 11/3/06, Chris Carey <chris.carey at gmail.com> wrote:
> >On 11/3/06, Barry Roberts <blr at robertsr.us> wrote:
> >> Java start-up time is big enough you're never gonna win the 5-line
> >> test, but I can't resist suggesting this short-ciruit optimzation to
> >> see how much difference it makes, since all the others do it.
> >
> >Can you preload the JVM in memory?
> 
> Java 7 will have the ability to keep the JVM resident, but no, today
> you can't pre-load the JVM.

Actually, I think you could do that today with beanshell. It's
different than pre-loading the JVM, but you could have the jvm and the
classes loaded in memory before starting the benchmark.

Barry







More information about the PLUG mailing list