Overview
Explore the inner workings of Oracle's HotSpot virtual machine and its just-in-time compiler in this 49-minute Devoxx conference talk. Gain insights into JVM performance optimization, debunking myths about Java's performance compared to native languages. Learn about common virtual machine optimizations, including inlining, loop unrolling, and escape analysis. Discover how to improve and measure Java program performance effectively. Understand the interplay between the JVM and computer hardware, covering topics such as callside, virtual method tables, caches, and hidden classes. Equip yourself with knowledge to optimize your Java code and reason about its performance in this comprehensive exploration of JVM internals.
Syllabus
Introduction
Disclaimer
The Java Program Model
Hotspot
Overview
Callside
Virtual Method Table
Caches
Monomorphic
Mono and Megamorphic
Inlining
Double braced initialization
Micro optimization
Loop unrolling
Hidden classes
Escape Analysis
Dead Code Elimination
Taught by
Devoxx