Java News
Java and the Next Generation of Programming ModelsModern software increasingly interacts with AI models, query languages, and other specialized programming models, forcing you to switch contexts, embed foreign code, or write verbose wrappers to bridge the gap. What if you could express logic from outside the JVM directly in Java? In this session, we start by looking at how Java enables you to safely interact with runtimes outside of the JVM using the Foreign Function and Memory API and tools like jextract. Then will push further with Project Babylon’s code reflection: express AI models as Java programs that Babylon can analyze, transform and lower to inference engines, thus leveraging hardware accelerator backends while skipping external model files or the need to glue code.
Read MoreEpisode 74 “Ask the Architects at Devoxx” [AtA]
Recent and upcoming Java features (e.g. value classes, withers, and lazy constants) make it easier to define, construct, copy, and access immutable data
Read MoreProject Detroit: From Foreign Libraries to Foreign Language Runtimes
Interacting with foreign libraries from Java has never been easier, thanks to the Foreign Function & Memory (FFM) API. But interacting with entire foreign language runtimes, like JavaScript or Python, remains hard. Project Detroit paves a new way forward: instead of implementing bespoke language runtimes from scratch, it leverages FFM to embed industry-standard native runtimes like V8 and CPython in the safety and comfort of your Java application.
Read MoreJDK 27 G1/Parallel/Serial GC changes
Now that the JDK 27 has been released, I thought it would be time to discuss interesting changes in OpenJDK’s stop-the-world collectors in the HotSpot VM once more.
Read MoreEpisode 73 “Immutable Data Beyond Value Classes” [AtA]
Recent and upcoming Java features (e.g. value classes, withers, and lazy constants) make it easier to define, construct, copy, and access immutable data
Read MoreJava Secure Coding Guidelines
Get an overview of the Secure Coding Guidelines for Java and best practices. Examples will be provided to show insecure practices that may lead to security vulnerabilities. Learn how to avoid issues by applying the guidelines. We'll also cover recent updates, including expanded coverage of topics such as input validation, serialization, and more.
Read MoreQuality Outreach Heads-up - JDK 28: Value Classes
This Heads-Up is part of the regular communication sent to the projects involved; it covers the introduction of value classes and strict fields
Read MoreJEP targeted to JDK 28: 544: Ahead-of-Time Code Compilation
The following JEP is targeted to JDK 28: 544: Ahead-of-Time Code Compilation
Read MoreCompromised Certificates and OpenJDK Java Runtimes
As has been widely reported, the private keys of eight eMudhra intermediate CA certificates have been compromised. This page summarizes how to check whether your runtime is at risk and mitigation actions.
Read MoreAllocating Off-Heap Memory: Typically 6-18x Faster in JDK 28
Pooled confined arenas provide a significant performance improvement for short-lived native allocations.
Read MoreSourced from https://inside.java via RSS.