Before the code in the main method a Java application is executed, the JVM must go through an a long and complex series of steps to metaphorically create the universe to run your Java application. In this episode of Stack Walker we take a deep dive into the processes the JVM goes through to create that universe.
*Chapters*
0:00 - Intro
2:11 - Level Setting
3:38 - JVM Initialization
7:38 - Class Loading, Linking, Initialization Overview
8:13 - Class Loading
11:34 - Class Linking
16:16 - Class Initialization
18:51 - Future
20:15 - Conclusions
Make sure to check the https://www.youtube.com/playlist?list=PLX8CzqL3ArzVpnvuuVxEtMAazHDLhdrgv playlist for more.
*Resources*
• Java's Startup Booster: CDS ➤ https://www.youtube.com/watch?v=vvlQv1Dh-HU
• A Preview of What's Coming in Project Leyden - IJN ➤ https://www.youtube.com/watch?v=z9XgILeSwzk
• Project Leyden Update ➤ https://youtu.be/OOPSU4LnKg0
• JNI_CreateJVM ➤ https://docs.oracle.com/en/java/javase/23/docs/specs/jni/invocation.htm…
• Java Virtual Machine Specification ➤ https://docs.oracle.com/javase/specs/jvms/se23/html/jvms-2.html
• Inside.Java ➤ https://inside.java
• Dev.Java ➤ https://dev.java
*Tags* #Java #JVM #Performance #OpenJDK