<b>Java</b> Performance Comparison
Sun published performance benchmark for JDK 5.0. It is around 3 times faster than 1.4.2 as per Specjbb2000, less spectacular in other benchmarks. Read it.

In addition a different way of tuning the heap has been added for the throughput garbage collector. This new tuning allows the user to specify performance and memory utilization criteria to dynamically tune the sizes of the heap. This "self tuning" behavior is referred to in this document as "ergonomics". For more on ergonomics please see the Ergonomics in the 5.0 Java Virtual Machine document.

Source