Book Image

Java 9 High Performance

By : Mayur Ramgir, Nick Samoylov
Book Image

Java 9 High Performance

By: Mayur Ramgir, Nick Samoylov

Overview of this book

Finally, a book that focuses on the practicalities rather than theory of Java application performance tuning. This book will be your one-stop guide to optimize the performance of your Java applications. We will begin by understanding the new features and APIs of Java 9. You will then be taught the practicalities of Java application performance tuning, how to make the best use of garbage collector, and find out how to optimize code with microbenchmarking. Moving ahead, you will be introduced to multithreading and learning about concurrent programming with Java 9 to build highly concurrent and efficient applications. You will learn how to fine tune your Java code for best results. You will discover techniques on how to benchmark performance and reduce various bottlenecks in your applications. We'll also cover best practices of Java programming that will help you improve the quality of your codebase. By the end of the book, you will be armed with the knowledge to build and deploy efficient, scalable, and concurrent applications in Java.
Table of Contents (11 chapters)

Summary

Without the extensive utilization of a Java profiling tool, many programs would be prone to bugs as well as degradation of code, which would in turn lead to the program hanging or even crashing. Initially, when profiling tools were created, many developers were quite weary of using them due to the fact that they made the whole process considerably slower. Furthermore, there was the added fear that the profiler would insert issues in the code itself.

However, with the passage of time, a whole new generation of profiling tools has changed this equation, and now it has become imperative for software developers to use them when developing new programs or even when fine-tuning old ones.

In the next chapter, we will learn about garbage collector, benefits of using garbage collector and carious garbage collection methods like escape analysis and reference counting. We will also...