All Java 24 features with examples: Stream Gatherers, Synchronize Virtual Threads without Pinning, Ahead-of-Time Class Loading & Linking, Compact Object Headers - and more!
What is Ahead-of-Time Class Loading & Linking? How does it work, and how can it improve the startup time of Java programs by 42%? How does it differ from AppCDS?
What is the structure of a Java object header? What are the Mark Word and Class Word? How can Compressed Class Pointers be represented on a 64-bit system using only 32 bits?
All Java 23 features with examples: primitive type patterns; Markdown in JavaDoc; importing modules; `print()`, `println()` and `readln()` without `System.in` and `System.out`; field initialization in the constructor before super() – and more!
Discover everything about the main method in Java, the starting point of every Java program. Find out more about the components, invocations, and the latest simplifications in Java versions 21 to 23.