How does runtime performance compare between JDK1.1 and JDK1.2 on Linux?

Nathan Meyers

Many people have found 1.2 to be slower - there are several reasons, but an important one is the memory requirement to hold the much larger set of classes. It's difficult to do anything in JDK1.2 without trashing on a machine with less than 96MB of memory.

(As an experiment, I once wrote a simple non-graphical "Hello World" program and a trivial AWT application, then ran them and watched class-loading activity. They loaded, respectively, 44 classes and 140 classes when run under JDK1.1. The same applications under JDK1.2 loaded, respectively, 180 and 450 classes. These differences map to significant differences in startup time and memory costs.)

The good news is that a lot of work is going into the JIT technology at IBM and Sun, and the current JDK1.3 releases from those vendors are showing improvement. But you still need a lot of memory.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact