Java Performance Tuning by Jack Shirazi
This text provides all the details a developer needs to know to performance tune any type of Java program and make Java code run significantly faster. The book contains step-by-step instructions on all aspects of the performance tuning process, right from such early considerations as setting goals, measuring performance, and choosing a compiler. Extensive examples for tuning many parts of an application are described in detail, and any pitfalls are identified. The book also provides performance tuning checklists that enable developers to make their tuning as comprehensive as possible. The book should appeal to developers who are ready to roll up their sleeves and examine their code in detail in order to apply different tuning techniques to produce the best possible result. It shows how to: create and plan a tuning strategy; avoid performance penalties from inefficient code; minimize the number of objects a program creates; improve the behaviour of loops and switches; and use threads effectively.