Java Performance Tuning by Jack Shirazi, Paperback | Barnes & Noble
Java Performance Tuning
  • Alternative view 1 of Java Performance Tuning
  • Alternative view 2 of Java Performance Tuning

Java Performance Tuning

by Jack Shirazi
     
 

View All Available Formats & Editions

No matter what language they're programming in, developers always wish things would run faster! Especially when writing mission-critical applications, no one wants to be limited by their programming environment. Java Performance Tuning provides all the details a developer needs to know to "performance tune" any type of Java program and make Java code run

Overview

No matter what language they're programming in, developers always wish things would run faster! Especially when writing mission-critical applications, no one wants to be limited by their programming environment. Java Performance Tuning provides all the details a developer needs to know to "performance tune" any type of Java program and make Java code run significantly faster.

Java Performance Tuning 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.

Java Performance Tuning is a book for 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.

The book 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 behavior of loops and switches
  • Use threads effectively

About the Author
Jack Shirazi is an independent consultant. He was an early adopter of Java, and for the past few years he has consulted, mainly for the financial sector, focusing on Java performance. Before using Java, Jack spent many years tuning smalltalk applications. Jack is also pleased to have contributed to some of the core Perl 5 modules.

Editorial Reviews

bn.com
The Barnes & Noble Review
If Java were inherently fast, it would’ve conquered the whole world by now, not just half of it. But there’s plenty you can do to improve Java performance, without compromising reliability or maintainability or even (in most cases) messing with architecture. Java Performance Tuning, 2nd Edition brings together an immense range of techniques -- up through Java 1.4 and now including J2EE, too.

Longtime Java performance consultant Jack Shirazi starts where any optimization process ought to begin: by helping you assess why users experience your application as slow, what to measure, and how to measure it using today’s Java profiling tools.

Next, Shirazi systematically addresses every area that can cause bottlenecks in Java performance. He covers underlying JDK issues like garbage collection and heap tuning; possible runtime optimizations; when to compile to native machine code and use native method calls; and so forth.

You’ll find detailed coverage of object creation and reuse; strings vs. arrays; exceptions, assertions, casts, and variables; loops, switches, and recursion; I/O; sorting; threading; data structures and algorithms; and much more. Shirazi’s excellent chapter on optimizing distributed application infrastructure covers everything from caching and compression to batching and stubbing; reducing messaging to (where necessary) application repartitioning. Every chapter ends with a handy Performance Checklist.

Enterprise developers will especially appreciate Shirazi’s four all-new chapters on J2EE -- ranging from servlets and JSP to EJBs, JDBC, and JMX. There’s even a discussion of optimizing Sun’s notorious Pet Store e-commerce application. Bill Camarda

Bill Camarda is a consultant, writer, and web/multimedia content developer. His 15 books include Special Edition Using Word 2000 and Upgrading & Fixing Networks for Dummies, Second Edition.

Booknews
Provides guidance on eliminating all types of performance problems in Java, using reality-based examples to work through the tuning process in detail. Covers how to minimize object creation, replace strings with arrays, and other tricks that can greatly improve code performance. Also provides guidance on what to tune and what to leave alone and how to tune without destroying a program's architecture. Annotation c. Book News, Inc., Portland, OR (booknews.com)
Java Performance Tuning reveals how techniques such as minimizing object creation, replacing strings with arrays, and other techniques can improve code performance. Author and Java expert Jack Shirazi also offers common-sense advice about what to tune and what to leave alone in order to maximize performance while avoiding damaging a program's architecture. Highly recommended as both an instruction manual Java users, Java Performance Tuning is a very well presented, highly recommend, "user friendly" reference that is enhanced with performance tuning checklists enabling developers to make their tuning as comprehensive and effective as possible.

Product Details

ISBN-13:
9780596003777
Publisher:
O'Reilly Media, Incorporated
Publication date:
01/01/2003
Edition description:
Second Edition
Pages:
590
Product dimensions:
7.00(w) x 9.19(h) x 1.19(d)

Meet the Author


Jack Shirazi was an early adopter of Java. For the past few years he has consulted in the financial sector.

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >