My machine has lower hardware specs than what the article mentions. This is what i get.
$ java -version
java version "1.6.0_10"
Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
Java HotSpot(TM) 64-Bit Server VM (build 11.0-b15, mixed mode)
$ uname -a
Linux lneves-t61p 2.6.27-9-generic #1 SMP Thu Nov 20 22:15:32 UTC 2008 x86_64 GNU/Linux
$ echo "public class Test{public static void main(String[] args) {System.out.println(\"Hello World\");}}" > Test.java
$ javac Test.java
$ time java Test
Hello World
real 0m0.174s
user 0m0.068s
sys 0m0.016s
It seems that you are wrong.
More likely he had some of JVM in the filesystem cache. Vista/OSX will pre-fetch JVM modules even after you reboot (not sure about Linux) if you run Java software and especially if you have 8GB of RAM...
Do you mean Class Data Sharing?
http://java.sun.com/j2se/1.5.0/docs/guide/vm/class-data-shar...
Lets disable it:
$ time java -Xshare:off Test
Hello World
real 0m0.165s
user 0m0.060s
sys 0m0.040s
Not much of a difference.