Ahead-of-Time (AOT) compilation and Class Data Sharing (CDS)

In Introducing Unnamed Classes and Simplified Main Methods in Java I ended up comparing the performance of direct execution of a java source file with main method by skipping the explicit javac step with the normal build and execution process javac X; java X (some assumptions made about the classpath excluded). I then went on to use Graal to compile the simple app into native code. The performance aspect I was looking at was start up and the simple CLI that did some stuff and then exited provided a reasonable exercise.

Read more of Ahead-of-Time (AOT) compilation and Class Data Sharing (CDS)