Enter your mobile number below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
Getting the download link through email is temporarily not available. Please check back later.

  • Apple
  • Android
  • Windows Phone
  • Android

To get the free app, enter your mobile phone number.

Java Performance Tuning (2nd Edition) Second Edition Edition

4.1 out of 5 stars 47 customer reviews
ISBN-13: 978-0596003777
ISBN-10: 0596003773
Why is ISBN important?
ISBN
This bar-code number lets you verify that you're getting exactly the right version or edition of a book. The 13-digit and 10-digit formats both work.
Scan an ISBN with your phone
Use the Amazon App to scan ISBNs and compare prices.
Have one to sell? Sell on Amazon
Buy used On clicking this link, a new layer will be open
$23.98 On clicking this link, a new layer will be open
Buy new On clicking this link, a new layer will be open
$37.76 On clicking this link, a new layer will be open
More Buying Choices
8 New from $20.00 29 Used from $0.77
Free Two-Day Shipping for College Students with Prime Student Free%20Two-Day%20Shipping%20for%20College%20Students%20with%20Amazon%20Student


Windows10ForDummiesVideo
Windows 10 For Dummies Video Training
Get up to speed with Windows 10 with this video training course from For Dummies. Learn more.
$37.76 FREE Shipping. Temporarily out of stock. Order now and we'll deliver when available. We'll e-mail you with an estimated delivery date as soon as we have more information. Your account will only be charged when we ship the item. Ships from and sold by Amazon.com. Gift-wrap available.
click to open popover

Frequently Bought Together

  • Java Performance Tuning (2nd Edition)
  • +
  • Java Performance: The Definitive Guide
  • +
  • Java Concurrency in Practice
Total price: $102.55
Buy the selected items together

Editorial Reviews

About the Author

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.

NO_CONTENT_IN_FEATURE

New York Times best sellers
Browse the New York Times best sellers in popular categories like Fiction, Nonfiction, Picture Books and more. See more

Product Details

  • Paperback: 600 pages
  • Publisher: O'Reilly Media; Second Edition edition (January 28, 2003)
  • Language: English
  • ISBN-10: 0596003773
  • ISBN-13: 978-0596003777
  • Product Dimensions: 7 x 1.3 x 9.2 inches
  • Shipping Weight: 2.2 pounds (View shipping rates and policies)
  • Average Customer Review: 4.1 out of 5 stars  See all reviews (47 customer reviews)
  • Amazon Best Sellers Rank: #1,112,276 in Books (See Top 100 in Books)

Customer Reviews

Top Customer Reviews

Format: Paperback
The book ranges rather widely, covering a huge number of tuning details. The author seems to know hands-on performance tuning very well, and many of the examples were directly applicable to our own development. There is only one chapter on designing for performance (I would have liked more), but in that chapter he did identify precisely the issues that we encountered in our project. The example of double sorting internationalized text transferred directly to our project and speeded up a crucial area of our presentation. I do recommend this book, but do not expect a design book. This is strongly hands-on performance tuning.
Comment 26 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback
This book provides good ideas on tactical optimization for performance gain but could have also covered architectural patterns and process for performance optimization.

This book covers the areas of optimizing compilers, I/O, RAM footprint, small object management and deployment etc.

Next edition may also cover architectural decisions (or patterns) which are costly to reverse later. Also, coverage on processes for performance optimization will be great in next edition. Getting a program to run faster costs money, and thus this business decision should have process ( or guidelines for series of high level actions ) to facilitate the optimization.

Other things, I would like to cover in next edition are

1) How to choose between "speed up the slow things" or "do the slow things less often".

2) How to identify ACTUAL areas of improvement. i.e. Importance of automated run that reasonably simulates the program under its usual conditions. (Example, our test on performance gave excellent results. But European customers rejected the product because we had not simulated ocean hop of packets as 2 databases were in America. Or importance of using a multi-user simulation system to identify real problems i.e. transaction interactions etc).

3) Importance of cohesive, loosely coupled and well factored modules for behaviour-preserving transformations of performance.

4) Importance of measurement before starting optimization.

Anyway, great book.
Comment 19 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback
This book is diverse in it's approach to java performance tuning. It is very good at describing common bottlenecks in detail and providing concrete examples of how to write better performing code.
It has good coverage of topics including Object creation, I/O and sorting. It illustrates efficient ways to write loops and switches and provides insight into the performance costs of exceptions and casts. 'Java Performance Tuning' also shows how to implement class specific collection classes among other topics.
It takes a comprehensive look at the java profiling tools available and gives illustrated advantages of applying specific techniques. Performance results are contrasted for the various JVMs (JDK1.2 with and without JIT, JDK1.3, Hotspot 1.0).
'Java Performance Tuning' has improved my programming and will sit on my shelf as an excellent reference I know I can turn to if asked to tune a Java application.
Comment 19 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback
I fail to understand the prior critical messages. One said that the author didn't present an accurate description of Reference objects. Well, the description starting on page 108 matches the one I was given by Sun in their performance workshop I attended in Mountain View. So I guess Sun does not know what they are doing in terms of Reference objects :).
Another message claimed that this book was not useful for enterprise applications. To the contrary, I was very impressed with the way he covered the actual process of doing performance analysis, he didn't just present a bunch of individual tips. Many people neglect this in enterprise development - they spend a bunch of time eyeballing the code and trying to do some quick fixes when they really need to set up a harness and do some serious testing.
Comment 18 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
By A Customer on December 11, 2000
Format: Paperback
We used about a dozen of the techniques from the book and our component went from being a real dog to way fast enough. Given what we achieved with the basic techniques, most of the more advanced techniques are unlikely to ever be used by us, but they were interesting and might come in useful one day. The book paid for itself within a day. Definitely useful if you have or anticipate a performance problem.
Comment 16 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback
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.
Comment 12 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback
This book analyzes what it is that makes many Java programs slow and what can be done to speed them up. Many of the examples exhibit speed increases of 20x-100x! Mr. Shirazi doesn't just talk about optimizing your switch statements so they use the table-lookup version of the bytecode (although that is covered), which is one of the low-level optimizations that will sometimes double the speed of a critical section, but also shows how to implement more profound algorithmic optimizations - the kind that can give order-of-magnitude speedups or better.
Memory management is covered, including excellent coverage of object creation, what the overhead REALLY is, how to reduce it by reusing objects, avoiding primitive wrapper classes, and other optimizations.
There is also suberb advice on algorithms (sorting, searching, data structures), I/O, multithreading (LOTS of fun, as always), character encoding optimization, and the fascinating but complex world of distributed computing.
A good distinction is made between the kinds of optimizations that are simply good coding practices and should be practiced regularly (such as using StringBuffers instead of Strings with the + operator) and those that, while being good for performance, are bad for design and increase maintenance costs. So Mr. Shirazi shows us that we can never know what will be slow until we profile, profile, profile. And the profiling done throughout the book doesn't use expensive commercial products, but simple timing code discussed in the first couple chapters.
Overall, a book I very much enjoyed reading and I highly recommend it.
Comment 10 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse

Most Recent Customer Reviews