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: The Definitive Guide: Getting the Most Out of Your Code 1st Edition
There is a newer edition of this item:
Coding and testing are often considered separate areas of expertise. In this comprehensive guide, author and Java expert Scott Oaks takes the approach that anyone who works with Java should be equally adept at understanding how code behaves in the JVM, as well as the tunings likely to help its performance.
You’ll gain in-depth knowledge of Java application performance, using the Java Virtual Machine (JVM) and the Java platform, including the language and API. Developers and performance engineers alike will learn a variety of features, tools, and processes for improving the way Java 7 and 8 applications perform.
- Apply four principles for obtaining the best results from performance testing
- Use JDK tools to collect data on how a Java application is performing
- Understand the advantages and disadvantages of using a JIT compiler
- Tune JVM garbage collectors to affect programs as little as possible
- Use techniques to manage heap memory and JVM native memory
- Maximize Java threading and synchronization performance features
- Tackle performance issues in Java EE and Java SE APIs
- Improve Java-driven database application performance
- ISBN-101449358454
- ISBN-13978-1449358457
- Edition1st
- PublisherO'Reilly Media
- Publication dateMay 27, 2014
- LanguageEnglish
- Dimensions7.01 x 0.92 x 9.06 inches
- Print length423 pages
Similar items that may deliver to you quickly
Editorial Reviews
About the Author
Product details
- Publisher : O'Reilly Media; 1st edition (May 27, 2014)
- Language : English
- Paperback : 423 pages
- ISBN-10 : 1449358454
- ISBN-13 : 978-1449358457
- Item Weight : 1.6 pounds
- Dimensions : 7.01 x 0.92 x 9.06 inches
- Best Sellers Rank: #279,600 in Books (See Top 100 in Books)
- #44 in Java Programming
- #146 in Enterprise Applications
- #148 in Computer Programming Languages
- 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 Amazon-
Top reviews
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
Style of book is light, examples are clear, I think every java developer should read this book for sure
For those looking for Java specifics the later chapters contain the most useful information. Of primary interest was the discussion of the inner working of the GC, the JIT and the heap. The hints and special cases were useful guidelines and provided information on areas to start looking for optimization but were of less overall utility than the JVM discussions.
Some readers here may dissect his examples further, but I think the author has already cautioned us at the beginning about the gain from tuning JVM parameters. Defaults JVM parameters will be good in the vast majority of cases. Overall, I would like to give a 3.5, but since I can't do that. I think 3 is a fair score.
However I found the JEE part was lacking in detail in comparison to the other parts.
Top reviews from other countries
It seems to focus primarily on the Hotspot virtual machine. With other VM implementations now available, for example Eclipse OpenJ9. It would be good to see an acknowledgment to these are well.
Now I did not like programming advices, to me many seem non-sensical. Even in the provided examples the author usually returns class implementations instead of APIs which is a very bad practice, and in the JPA looks like there's bullshit (especially around the cartesian issue w/ Hibernate). But the good advice in the second part is "tune your code before tuning the JVM", which is basic common sense.
O autor é muito feliz de minuciar a plataforma Java praticamente como um todo. Tópicos como os tão comuns Garbage Collections são tão detalhados como os menos comuns tunnings do compilador JIT do Java, flags de tunnings de Threads um visualização do Java Memory Model (que o livro explica de forma simples e fácil. Embora na literatura Java seja um assunto espinhoso).
Além disso, outro ponto alto do livro é oferecer dicas de tunning e melhorias de performance para as API Java EE e do próprio JDK explicando aí as várias melhorias do próprio Java.
Em suma, leitura altamente recomendada não só para quem deseja iniciar na melhoria e tunning de aplicações Java mas também para desenvolvedores que desejam codificar melhor.






