
Aleksandar Gargenta
Partner
Marakana, Inc.
Can anyone recommend good tutorials on Java performance tuning?
The one I like is
Java Tuning White Paper by Sun, but Google lists 5m+ hits on the subject. The question is what's good and what's just clutter?
What do you like?
I am mostly interested in general do-s and don't-s, rather than hacks (e.g.
The Commando Pattern) that buy you some performance at the expense of good design practices - which sometimes can be justified.
Edited 1 time.
Last edit by Aleksandar Gargenta
on
Oct-10-2007 at 01:22PM
(44 weeks ago)

Aleksandar Gargenta
Partner
Marakana, Inc.
Of course, you could just switch to
Java 6, and avoid having to do any kind of HotSpot/GC optimizations, because Java 6 is
already 20-40% faster than the competition (including Java 5).
Having said that, there are still best-practices to follow when it comes to API use, data-collections, general programming principles, etc.
I guess the question on "performance tuning" can be asked by both developers (interested in code-level tuning) and system administrators (interested in JVM tuning). Java 6 addresses the latter.