Cart
Free Shipping in the UK
Proud to be B-Corp

Java Performance Tuning Jack Shirazi

Java Performance Tuning By Jack Shirazi

Java Performance Tuning by Jack Shirazi


£3.49
New RRP £24.95
Condition - Very Good
Only 4 left

Summary

A step-by-step guide to all aspects of the Java performance tuning process, from such early considerations as setting goals, measuring performance, and choosing a compiler. Examples for tuning many parts of an application are described in detail, and any pitfalls are identified.

Java Performance Tuning Summary

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.

About Jack Shirazi

Jack Shirazi is an independent consultant. He was an early adopter of Java, and for the last few years has consulted mainly for the financial sector, focusing on Java performance. Before using Java, Jack spent many years tuning Smalltalk applications. Jack's early career involved research in theoretical physics and bioinformatics. Jack has publications in the field of protein structure and is proud to have contributed to some of the core Perl5 modules.

Table of Contents

Preface 1. Introduction Why Is It Slow? The Tuning Game System Limitations and What to Tune A Tuning Strategy Perceived Performance Starting to Tune What to Measure Don't Tune What You Don't Need to Tune Performance Checklist 2. Profiling Tools Measurements and Timings Garbage Collection Method Calls Object-Creation Profiling Monitoring Gross Memory Usage Client/Server Communications Performance Checklist 3. Underlying JDK Improvements Garbage Collection Replacing JDK Classes Faster VMs Better Optimizing Compilers Sun's Compiler and Runtime Optimizations Compile to Native Machine Code Native Method Calls Uncompressed ZIP/JAR Files Performance Checklist 4. Object Creation Object-Creation Statistics Object Reuse Avoiding Garbage Collection Initialization Early and Late Initialization Performance Checklist 5. Strings The Performance Effects of Strings Compile-Time Versus Runtime Resolution of Strings Conversions to Strings Strings Versus char Arrays String Comparisons and Searches Sorting Internationalized Strings Performance Checklist 6. Exceptions, Casts, and Variables Exceptions Casts Variables Method Parameters Performance Checklist 7. Loops and Switches Java.io.Reader Converter Exception-Terminated Loops Switches Recursion Recursion and Stacks Performance Checklist 8. I/O, Logging, and Console Output Replacing System.out Logging From Raw I/O to Smokin' I/O Serialization Clustering Objects and Counting I/O Operations Compression Performance Checklist 9. Sorting Avoiding Unnecessary Sorting Overhead An Efficient Sorting Framework Better Than O(nlogn) Sorting Performance Checklist 10. Threading User-Interface Thread and Other Threads Race Conditions Deadlocks Synchronization Overheads Timing Multithreaded Tests Atomic Access and Assignment Thread Pools Load Balancing Threaded Problem-Solving Strategies Performance Checklist 11. Appropriate Data Structures and Algorithms Collections Java 2 Collections Hashtables and HashMaps Cached Access Caching Example I Caching Example II Finding the Index for Partially Matched Strings Search Trees Performance Checklist 12. Distributed Computing Tools Message Reduction Comparing Communication Layers Caching Batching I Application Partitioning Batching II Low-Level Communication Optimizations Distributed Garbage Collection Databases Performance Checklist 13. When to Optimize When Not to Optimize Tuning Class Libraries and Beans Analysis Design and Architecture Tuning After Deployment More Factors That Affect Performance Performance Checklist 14. Underlying Operating System and Network Improvements Hard Disks CPU RAM Network I/O Performance Checklist 15. Further Resources Books Magazines URLs Profilers Optimizers Index

Additional information

GOR002607391
9780596000158
0596000154
Java Performance Tuning by Jack Shirazi
Used - Very Good
Hardback
O'Reilly Media
20001010
450
N/A
Book picture is for illustrative purposes only, actual binding, cover or edition may vary.
This is a used book - there is no escaping the fact it has been read by someone else and it will show signs of wear and previous use. Overall we expect it to be in very good condition, but if you are not entirely satisfied please get in touch with us

Customer Reviews - Java Performance Tuning