Buy new:
-36% $38.60$38.60
FREE delivery Monday, November 25
Ships from: LoveOfBook Sold by: LoveOfBook
Save with Used - Good
$23.94$23.94
Ships from: Amazon Sold by: Bucketlist Store
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Java Performance 1st Edition
Purchase options and add-ons
James Gosling, creator of the Java Programming Language
Improvements in the Java platform and new multicore/multiprocessor hardware have made it possible to dramatically improve the performance and scalability of Java software.
Java Performance covers the latest Oracle and third-party tools for monitoring and measuring performance on a wide variety of hardware architectures and operating systems. The authors present dozens of tips and tricks youll find nowhere else.
Youll learn how to construct experiments that identify opportunities for optimization, interpret the results, and take effective action. Youll also find powerful insights into microbenchmarkingincluding how to avoid common mistakes that can mislead you into writing poorly performing software. Then, building on this foundation, youll walk through optimizing the Java HotSpot VM, standard and multitiered applications; Web applications, and more. Coverage includes
- Taking a proactive approach to meeting application performance and scalability goals
- Monitoring Java performance at the OS level in Windows, Linux, and Oracle Solaris environments
- Using modern Java Virtual Machine (JVM) and OS observability tools to profile running systems, with almost no performance penalty
- Gaining under the hood knowledge of the Java HotSpot VM that can help you address most Java performance issues
- Integrating JVM-level and application monitoring
- Mastering Java method and heap (memory) profiling
- Tuning the Java HotSpot VM for startup, memory footprint, response time, and latency
- Determining when Java applications require rework to meet performance goals
- Systematically profiling and tuning performance in both Java SE and Java EE applications
- Optimizing the performance of the Java HotSpot VM
Using this book, you can squeeze maximum performance and value from all your Java applicationsno matter how complex they are, what platforms theyre running on, or how long youve been running them.
- ISBN-100137142528
- ISBN-13978-0137142521
- Edition1st
- Publication dateOctober 4, 2011
- LanguageEnglish
- Dimensions7 x 1.61 x 9.13 inches
- Print length714 pages
Frequently bought together

Similar items that ship from close to you
Editorial Reviews
Amazon.com Review
More to Explore: See More Java Guides
Title Sams Teach Yourself Java in 24 Hours Sams Teach Yourself Java in 21 Days Java™ for Programmers Java Performance Covering Java 7 and Android Covering Java 7 and Android Deitel Developer Series Covering Latest Oracle and Third-Party Tools Guide Type Tutorial Tutorial Tutorial Special Topic Audience Level Beginner Beginner to Intermediate Beginner to Intermediate Intermediate to Advanced Pages 432 720 1168 720 List Price $34.99 $44.99 $59.99 $59.99 Publication Date October, 2011 July, 2012 April, 2011 September, 2011 Author(s) Cadenhead Cadenhead Deitel / Deitel Hunt / John Imprint Sams Sams Prentice Hall Addison-Wesley Print Book 0672335751 0672335743 0132821540 0137142528 Kindle Book B005OR9MBW Not Available - Request Kindle Version B004YWAZUU B005R4NELQ Edition 6 6 2 1 Brief Description An introduction to programming and Java; no previous programming experience required. An introduction to Java, for readers with some previous programming experience. A comprehensive guide to Java, for professional programmers new to Java, but experienced with other programming languages. An authoritative guide to creating faster, more reliable applications, for intermediate to advanced programmers.
About the Author
Binu John is a senior performance engineer at Ning, Inc., where he focuses on improving the performance and scalability of the Ning platform to support millions of page views per month. Before that, he spent more than a decade working on Java-related performance issues at Sun Microsystems, where he served on Suns Enterprise Java Performance team. John has contributed to developing industry standard benchmarks such as SPECjms2007 and SPECJAppServer2010; published several performance whitepapers; and contributed to java.nets XMLTest and WSTest benchmark projects.
Product details
- Publisher : Addison-Wesley Professional; 1st edition (October 4, 2011)
- Language : English
- Paperback : 714 pages
- ISBN-10 : 0137142528
- ISBN-13 : 978-0137142521
- Item Weight : 2.01 pounds
- Dimensions : 7 x 1.61 x 9.13 inches
- Best Sellers Rank: #2,713,093 in Books (See Top 100 in Books)
- #803 in Java Programming
- #2,507 in Computer Programming Languages
- #15,977 in Professional
- Customer Reviews:
About the author

Discover more of the author’s books, see similar authors, read book recommendations and more.
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonCustomers say
Customers find the book's information great, insightful, and excellent. They also describe the content as consistently well-written, concise, and exciting. Readers mention the author describes and explains very well.
AI-generated from the text of customer reviews
Customers find the information in the book great, insightful, and excellent. They appreciate the level of detail and information provided as it relates to the architecture of the JVM. Readers mention the book is a must-read for performance engineers and Java lovers looking to boost modern application performance. They also say it provides a series of debugging techniques to complement and instrument the JVM.
"...would have helped. But beyond that, this book is packed with tons of useful information that has helped me greatly understand the performance tuning..." Read more
"This is a must read for performance engineers. But I would suggest reading this book in a different order:Read Ch. 8 and 9 first...." Read more
"...It contains detailed explanation on the HotSpot JIT compiler, describes all the garbage collectors and gives many helpful tips...." Read more
"...Lots of valuable information about, OS tuning parameters affecting Java, Lots of JVM tuning tips and strategies,Bench marking and Profiling..." Read more
Customers find the content consistently well-written, concise, and excellent. They also appreciate the author's descriptions and explanations.
"...The author described and explained very well, tuning from Operation System level to Java Application level...." Read more
"This book is a really good read even if you are already experienced with Java...." Read more
"...Well written, concise.Every Java development team should have a copy of this book available to them." Read more
"Excellent reading to boost your Apps Java Performance..." Read more
-
Top reviews
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
Read Ch. 8 and 9 first. Chapter 9 shows how Little's law could be used for benchmark validation. This part is priceless, and can be applied to any benchmarks.
Ch. 2 is on monitoring the OS. Read this part only if you need it.
Ch. 3-7 is all about tuning the JVM and using profilers. I think this is the only book that describes how to tune the GC right now. Granted, it doesn't say much about how to write better java code. But I don't think that's the intention of this book.
Ch 10-12 is about tuning different kinds of Java applications. Read this part if you happened to be working with this kind of application.
A full chapter is dedicated to explain how to analyse your memoryallocations, with detailed explanation on the use of jvisualvm / visualgc.
It furthermore describes pitfalls and best practices on the creation of (micro-)benchmarks.
To me, it seems an unmissable book for every performance oriented java developer.
I know that Oracle has good technical writers. I really wish that the authors would have passed the manuscript around and received feedback on their writing. For example,
You only have to tell us once that the HotSpot Java VM will be referred to as the HotSpot VM hereafter - not repeatedly.
I recommend skipping chapter 1 entirely as a waste of paper and time. I'm in the "I don't care that I don't know what I don't know stage".
Maybe if you break the text down into sections like Josh Block did with his Effective Java book - that is a good example of a readable book.
Also how do ergonomics (page 60) fit into this? The VM guessing what heap size to use isn't ergonomic - it doesn't really have human factors impact - unless you can get RSI from a poorly tuned VM. If this is an attempt to introduce more technical jargon by co-opting terms, don't.
A good editor would do this book a great favor.
Top reviews from other countries
I am doing java development for past 9 years and always longed for some good reference which can help me in resolving the performance issues during crunch times. This book perfectly fits the bill.
My advise to potential buyers is that don't treat this as a text book rather a reference book.
By the way third chapter is a gem. It is the USP of this book. Don't miss that chapter
Ogni volta che vado su un progetto mi dicono che hanno già fatto tutte le ottimizzazioni possibili, ma non sono sicuri della configurazione del Garbage Collector. Ecco, la verità è che il Garbage Collector non è mai un problema, se mai è un problema il fatto che una funzione richieda 100MB di ram per leggere dei dati da un databse e produrre una pagina con la loro rappresentazione.
Molti strumenti sono disponibili per aiutare questa attività, spesso molto costosi. Ma ciò che ho notato mancare più spesso è una visione d'insieme del problema.
Questo libro è probabilmente la risorsa definitiva per chi vuole imparare ad affrontare i problemi di ottimizzazione delle applicazioni Java esistenti: racconta cià che serve sapere a livello di JVM (tanto), Garbage Collector (abbastanza poco dopo che il GC è diventato intelligente) e Sistema Operativo.
Il resto lo si scopre analizzando staticamente e dinamicamente l'applicazione tramite analyzer, profiler o instrumentatori.
Non aspettatevi che questo libro vi dica se è meglio JDBC, Hibernate o altro. Vi aiuterà solo a capire come fare a scoprire quali sono i problemi delle vostre applicazioni.
Se no che gusto c'era?
Für Anwender mit Intel CPUs / Intel Architektur sind daher einige dieser Aussagen daher nicht so hilfreich.
Der Autor beschreibt wirklich akribisch genau, wie man Java Programme auf Performance Probleme testet, und welche Einstellungen notwendig sind um performante Java Programme zu erhalten und man das letzte aus der JVM rausholen kann.
In diesem Zusammenhang sollte man immer dafür sorgen, dass das verwendete JDK unbedingt soweit möglich am aktuellsten Release Stand / Patch Level befindet
Aber es gibt zur Zeit aber trotzdem nichts besseres als dieses Buch. Jedem Java Entwickler daher sehr zu empfehlen.





