Book Review: Oracle JRockit - The Definitive Guide
By Olaf Heimburger-Oracle on Sep 01, 2010
The AuthorsThis book was written by Marcus Hirt and Marcus Lagergren, two of the founders of Applied Virtual Machines, the company that created the JRockit Virtual Machine, and are now working for Oracle.
The BookBefore I started to read this book, I was a bit biased and expected the typical collection of feature description. But this book surprised me considerably.
The first part, ie the first five chapters, explains the challenges and considerations one have to have in mind while developing a high speed virtual machine for Java. These chapters also give you an insight how the language features, you use in your daily work, must be handled by the virtual machine and how the correct use of them impacts the performance of your application. Explicitly or implicitly with surprising results (for example, the possible garbage collection strategies or the 64-bit performance mystery).
The chapter Benchmarking and Tuning can serve as a general introduction to all of your benchmarking and tuning exercises to meet the requirements for your application. It explains many of my experiences during my tuning exercises and I consider it as a must read for all developers and tuning experts.
The JRockit Virtual Machine comes with a number of tools that help you to control their behaviour or get a better insight of the current status of the machine or even of your application. Among these tools are the JRockit Mission Control Center, the Flight Recorder, and the JRCMD command line tool to manipulate the virtual machine on the fly. A definitive guide should and must explain these tools and their usage in every detail. In this book you get exactly what you expect with a short history of their creation.
RecommendationAlthough this book is primarily written for the JRockit virtual machine, the first five chapters can be considered as a general introduction to the implementation of virtual machines for the Java language and environment. It also serves as a perfect guide for your benchmarking and tuning exercises, not only for JRockit.
If you use JRockit, this book comes as a double feature for you and the other chapters help you to complete these exercises.
The DetailsTitle Oracle JRockit - The Definitive Guide
Authors Marcus Hirt, Marcus Lagergren
Paperback 543 pages