Skip to Content
Java 9 High Performance
book

Java 9 High Performance

by Mayur Ramgir, Nick Samoylov
November 2017
Intermediate to advanced
398 pages
10h 14m
English
Packt Publishing
Content preview from Java 9 High Performance

CPU profiling

Any application is going to need to use the CPU time of your application server. So there is a high probability of your application getting affected by poor use of the CPU's resources. Moreover, the underlying operating system of your application server controls the CPU scheduling, so you as a developer don't have any control over which process will get priority, and the amount of CPU time and waiting time. In Chapter 9, Multithreading and Reactive Programming, you will learn about specifying thread priorities, but that is more of a request and not a guarantee. Hence, the best strategy would be to look into using less CPU time by optimizing your application code. Before you perform any CPU profiling, lets first understand a ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Distributed Computing in Java 9

Distributed Computing in Java 9

Raja Malleswara Rao Malleswara Rao Pattamsetti
Mastering Java 11 - Second Edition

Mastering Java 11 - Second Edition

Dr. Edward Lavieri Jr., Mandar Jog
Java EE 8 High Performance

Java EE 8 High Performance

Romain Manni-Bucau
Clojure: High Performance JVM Programming

Clojure: High Performance JVM Programming

Eduardo Díaz, Shantanu Kumar, Akhil Wali

Publisher Resources

ISBN: 9781787120785Supplemental Content