btratra.bsky.social

@btratra.bsky.social

Vice President, Software Development - Oracle / Java Platform (Language, JVM, Libraries, Security/Vulnerability, UI, Embedded) "The statements and opinions expressed here are my own and do not necessarily represent those of Oracle.”

JDK 28 FFM allocations will be much faster: Arena.ofConfined() can reuse native-memory pools without source changes while preserving lifetime, confinement, and zero-initialization guarantees. Early microbenchmarks show up to 18x improvements! inside.java/2026/10/05/c... #java #FFM

Making Arena.ofConfined() Even Cheaper in JDK 28 - Inside.java

Pooled confined arenas provide a significant performance improvement for short-lived native allocations.

inside.java

JEP 546, Adaptive Heap Sizing for ZGC, is now a Candidate! ZGC will adapt heap size to application demand and available host CPU/memory—reducing manual tuning while balancing throughput, latency, GC CPU, and neighboring workloads. openjdk.org/jeps/546 "Java for the AI World" #Java #ZGC

JEP 546: Adaptive Heap Sizing for ZGC

Enhance the Z Garbage Collector (ZGC) to adaptively adjust the size of the heap based on the resources available, the application's needs, and the needs of neighboring applications contending for the same resources.

openjdk.org

JEP 545, Faster Startup and Warmup with ZGC, is now a Candidate! Complementing Leyden AOT for startup and warmup, ZGC reduces the trade-off between fast startup with a small initial heap and smoother performance with a large, pre-touched heap 😀 openjdk.org/jeps/545 #java #ZGC

JEP 545: Faster Startup and Warmup with ZGC

Improve application startup and warmup by enhancing the Z Garbage Collector to acquire and prepare physical memory more swiftly and efficiently in response to application needs.

openjdk.org

JEP 401 brings value classes preview to JDK 28. They enable flattening and scalarization, but are not magic: immutability helps, while megamorphic calls may reintroduce allocation. A great look at how C2 JIT compiler is improving :-) johan-sjolen.github.io/post/compile... "Java for the AI world"

Value Classes Still Need Compiler Sympathy

This post discusses preview features in JDK 28\nJEP 401, a major Valhalla milestone, has been integrated as a preview feature in JDK 28. This is very exciting, as value classes increase both our abili...

johan-sjolen.github.io

Functional programming in Java is not about changing Java; it is about expressing intent with concise, composable code. Immutability and pure functions reduce ambiguity, improve verification, and will make code easier for LLMs to generate and evolve :-) www.javacodegeeks.com/2026/02/func...

Functional Programming in Java: Valhalla, Pattern Matching, and Records - Java Code Geeks

Explore Java's pragmatic evolution toward functional programming with Project Valhalla's value types, pattern matching enhancements (JEP 441)

javacodegeeks.com

The JVM offers a unique two-pronged GC performance strategy: use Generational ZGC when protecting p99.9 latency, large heap scaling or use G1 when balanced, high throughput is the goal. Continued C2 JIT compiler and JVM runtime improvements raise peak performance :-) ankurm.com/generational...

Generational ZGC on JDK 25: Benchmarks vs G1 (Beginner to Advanced)

A beginner-to-advanced guide to Generational ZGC on JDK 25 — the first LTS where it is the only ZGC. Colored pointers, load and store barriers, and a measured comparison against G1: ZGC's p99.9 of 1.4...

ankurm.com

LangChain4j’s features align with the growing trend of Java becoming the key platform for Enterprise AI agents to integrate with business logic, preserve state, recover from failures, and operate within established security and observability practices :-) github.com/langchain4j/...

Releases · langchain4j/langchain4j

LangChain4j is an idiomatic, open-source Java library for building LLM-powered applications on the JVM. It offers a unified API over popular LLM providers and vector stores, and makes implementing ...

github.com