Microsoft for Java Developers

News, updates, and insights for Java development with Microsoft tools, Azure services, and OpenJDK.

AOT Compilation in HotSpot: Introduction

Introduce the AOT Compiler that was introduced in Java 9 with the addition of the jaotc command-line utility. Explore some of the tradeoffs it needs to take, how the generated code fits in the Tiered Compilation pipeline, go through a simple example, and take a look at some alternatives (JIT at Startup, JIT caching, and Distributed JIT).