High Performance Java

High Performance Java

English | MP4 | AVC 1920×1080 | AAC 48KHz 2ch | 1h 22m | 252 MB

Use the JMH performance testing tool to write correct performance tests

Java 9 comes with a host of new features and new APIs with lots of ready-to-use components to build efficient and scalable applications. This course begins by introducing you to JDK 9’s latest additions and tools. You’ll learn about the latest performance features in Java 9, and see how to write microbenchmarks with JMH. After that, you’ll learn how to make the most of Java 9’s performance. You’ll discover how to develop highly concurrent applications with just-in-time compilation, segmented code, and ahead of time compilation.

Writing Java programs in a way that can be optimized by the compiler is not an easy task, but you’ll learn how to do this. The compiler can help you optimize your code in a very different way, and you’ll see how these optimizations affect the code written in Java 9. To create an efficient application, it’s imperative to test your app in the right way, so to write performance tests, we’ll use the JMH tool and you’ll learn how to leverage it.
What You Will Learn

  • Improve GC with Java 9
  • Explore Java 9’s compiler improvements
  • Write good code in Java 9
  • Write performance tests with JMH
  • Create complex benchmarks
  • Discover Just-in-time compilation
  • Discover the segmented code cache
  • Study ahead-of-time compilation
Table of Contents

01 The Course Overview
02 Performance Improvements
03 Java 9 GC Improvement
04 JShell – Interactive Console in Java 9
05 How to Write Good Code in Java 9
06 Setup Benchmarks Suite
07 Creating Benchmarks with Warm up Period
08 Avoid Dead Code Elimination in Tests
09 Creating Complex Benchmarks
10 Just-in-time Compilation
11 Ahead of Time Compilation
12 Segmented Code Cache