Java | News, how-tos, features, reviews, and videos
GraalVM for JDK 22 makes most Java 22 features available for Graal just-in-time and Native Image ahead-of-time compilation.
OpenJDK draft plan would decrease fragmentation in the JVM code cache and reduce application execution time.
JDK 22 adds 10 new root CA certificates, a new asymmetric key interface, and a -XshowSettings option for displaying security settings.
New features like var, auto-compile, text blocks, record classes, and more are shifting Java in subtle but powerful ways—toward a more flexible, dynamic future.
Java 22 arrives with previews of scoped values, structured concurrency, stream gatherers, and the ability to execute multi-file programs.
Python increased its lead over second-place C language in the March 2024 edition of the Tiobe index of programming language popularity.
ScopedValue is an alternative to ThreadLocal, and works in tandem with VirtualThreads and the new StructuredTaskScope. Find out what scoped values can do for your multithreaded programs in Java.
2024 Java Developer Productivity Report finds most companies plan to add Java developers this year, though most tool budgets not rising.
Derived records creation would allow Java developers to create new records from existing records and eliminate the need for explicit wither methods.
The Java team at Oracle is working to address two common cases in which a virtual thread parks or blocks and the underlying native thread is not released.