Java Cup
Inside Java

News and views from members of the Java team at Oracle

All That Is in Java 21?! Inside Java Newscast #50

Java 21 is almost too good to be true: It finalizes virtual threads, sequenced collections, generational ZGC, and the pattern matching basics; evolves the structured concurrency, vector, and foreign function and memory APIs; and freshly previews a simpler launch protocol, string templates, unnamed variables and patterns, and generational Shenandoah. And in this episode, we'll go over everything.

Show Notes

Virtual threads:

Sequenced collections:

Generational ZGC:

Pattern matching:

Preview features:

Structured concurrency:

Vector API:

Foreign function & memory API:

Unnamed classes and instance main:

Generational Shenandoah:

Unnamed variables and patterns:

String templates:

Additional Resources

The Inside Java Newscast is a monthly YouTube show - check out the YouTube playlist for all the episodes. Since 2026, we also publish it as a podcast. For more Java news, subscribe to our RSS feed and follow @Java on X.

Contact us.