Ron Veen
Modern Java 25
#1about 2 minutes
Understanding the scope of changes in Java 25
Java 25 introduces updates beyond the language, including libraries, APIs, and the JVM, categorized by feature status like preview or final.
#2about 3 minutes
Using primitive types in pattern matching switches
Java 25 now supports primitive types like integers directly within switch expressions and `instanceof` checks, simplifying type-based logic.
#3about 2 minutes
Introducing stable values for deferred immutability
The new stable values API provides true immutability and deferred initialization, improving application startup times and enabling JVM optimizations.
#4about 3 minutes
Simplifying thread management with structured concurrency
Structured concurrency treats groups of concurrent tasks as a single unit, automatically managing their lifecycle and simplifying error handling.
#5about 2 minutes
Using scoped values as a modern ThreadLocal alternative
Scoped values provide an immutable and efficient way to share data within a thread's call stack, replacing the problematic `ThreadLocal` API.
#6about 2 minutes
Simplifying code with module import declarations
Instead of importing individual classes, you can now import entire modules, making code easier to write and read for newcomers.
#7about 2 minutes
Making Java more accessible with simplified main methods
The `main` method syntax is now more flexible, allowing the removal of `public`, `static`, and even the surrounding class for simpler programs.
#8about 1 minute
Gaining control with flexible constructor bodies
The `super()` call is no longer required to be the first statement in a constructor, enabling pre-initialization validation and logic.
#9about 1 minute
Accelerating computations with the Vector API
The Vector API provides a platform-agnostic way to express vector calculations that compile to optimal SIMD hardware instructions for high performance.
#10about 1 minute
Standardizing cryptographic object encoding
A new API standardizes the encoding and decoding of cryptographic objects, ensuring consistent and secure handling across the ecosystem.
#11about 2 minutes
Preparing for post-quantum cryptography
New APIs for Key Encapsulation Mechanisms (KEM) and Key Derivation Functions (KDF) help protect today's encrypted data from future quantum computing threats.
#12about 4 minutes
Improving startup and warmup with AOT compilation
Project Leyden's Ahead-of-Time (AOT) compilation features reduce application startup and warmup times by caching class loading and JIT data.
#13about 1 minute
Reducing memory usage with compact object headers
By reducing the size of object metadata in the heap, compact object headers can decrease memory consumption by up to 20%.
#14about 1 minute
Enhancing profiling with Java Flight Recorder updates
Java Flight Recorder introduces new CPU profiling events and cooperative sampling for more accurate, less biased performance analysis.
#15about 1 minute
Improving garbage collection with Generational Shenandoah
The Shenandoah garbage collector now includes a generational mode, which improves performance by focusing collection efforts on short-lived objects.
#16about 1 minute
Removing the 32-bit x86 port to focus on new features
The legacy 32-bit x86 port has been removed, allowing the development team to dedicate more resources to modern platform features.
Related jobs
Jobs that call for the skills explored in this talk.
tree-IT GmbH
Bad Neustadt an der Saale, Germany
€54-80K
Intermediate
Senior
Java
TypeScript
+1
Picnic Technologies B.V.
Amsterdam, Netherlands
Senior
Java
Amazon Web Services (AWS)
+1
Matching moments
02:33 MIN
Why you might not need JavaScript for everything
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
03:31 MIN
The value of progressive enhancement and semantic HTML
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
08:07 MIN
Exploring modern JavaScript performance and new CSS features
WeAreDevelopers LIVE – AI, Freelancing, Keeping Up with Tech and More
06:47 MIN
Solving date and time issues with the Temporal API
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
01:06 MIN
Malware campaigns, cloud latency, and government IT theft
Fake or News: Self-Driving Cars on Subscription, Crypto Attacks Rising and Working While You Sleep - Théodore Lefèvre
02:49 MIN
Using AI to overcome challenges in systems programming
AI in the Open and in Browsers - Tarek Ziadé
03:16 MIN
Improving the developer feedback loop with specialized tools
Developer Time Is Valuable - Use the Right Tools - Kilian Valkhof
09:00 MIN
Navigating the growing complexity of modern CSS
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
Featured Partners
Related Videos
Modern Java: This is not your father's Java anymore
Ron Veen
Using Java 17 latest features in real world projects
Ron Veen
Best of Java 15 and beyond—my favorite features
Michael Inden
The Cool Thing about Cool Things in Java 16 & 17 LTS
Mohamed Taman
Beam Me Up, Java! Unraveling the Warp-Speed Evolution: A Journey through Java LTS Versions 11 to 21
Jonathan Vila
Java 21: The Revolution of Virtual Threads - A Deep Dive
Christian Woerz
Algebraic Data Types + Pattern Matching = Elegant and readable Java code
Balkrishna Rawool
Introduction and pitfalls of Java's new concurrency model
David Vlijmincx
Related Articles
View all articles.gif?w=240&auto=compress,format)


.gif?w=240&auto=compress,format)
From learning to earning
Jobs that call for the skills explored in this talk.



Expleo Group Austria
€55K
Intermediate
CSS
XML
GIT
HTML
+16

J&C Associates
Remote
Intermediate
XML
Java
Unix
Solr
+4



Behavox Limited
Senior
Java
Azure
HBase
MySQL
NoSQL
+10


All European Careers
Amsterdam, Netherlands
Senior
API
XML
GIT
Java
Unix
+8