Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

JIT and AOT Compilation in the JVM - Strengths and Weaknesses

Java via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This talk compares Java and JVM compilation approaches, including JIT profiling and speculation, AOT compilation, code caching, and external compilation services. It examines their performance benefits and tradeoffs across Java applications.

Syllabus

Intro
Native compilers in today's Java ecosystem
Life of a running Java application
1. Speculate on class hierarchy
2. JIT uses profile data collected as program runs
But JIT performance advantage isn't free
BUT there are a few big BUTS
Class loader objects can invalidate the inlining...
Contrived example?
Some AOT Fallacies
Profile Directed Feedback (PDF) may help
Two implementations
Open9 Shared Classes Cache
Strengths and Weaknesses
Wrapping up

Taught by

Java

Reviews

Start your review of JIT and AOT Compilation in the JVM - Strengths and Weaknesses

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.