Martin Probst's weblog

Java 6 Preview

Friday, October 21, 2005, 23:44 — 0 comments Edit

Lars Trieloff is happy that Java 6 Swing picks up GTK themes. While that is certainly nice, what I like a lot more is that Java 6 runs a certain native XML database about 15% faster in our benchmarks.

Of course it’s quite hard to tell why, but it seems that Java 6 is bringing several new optimisations to the HotSpot virtual machine, most notably the ability to have small, local objects created on the stack, and not on the heap. That saves general allocation overhead plus the time needed for GC, so this may or may not be a reason. Anyways, it’s cool, and quite suprising that they can still get such big improvements.

No comments.