Inside Java
"Adaptive Heap Sizing + Numeric Conversion + Primitive Patterns" [IJN]

Episode 27 · Season 3

"Adaptive Heap Sizing + Numeric Conversion + Primitive Patterns" [IJN]

Inside Java

9:13

About this episode

JDK 28's adaptive heap sizing for ZGC dynamically balances CPU use and memory consumption with close-to-zero configuration. Value classes introduce new challenges for conversions between custom numeric types, which type classes could eventually address, but unresolved questions about how these features should interact mean that primitive patterns won't return in JDK 28 and will instead be withdrawn. 😟 Other highlights are upcoming Java events and JDK 28's planned features.

Links:

Adaptive heap sizing for ZGC:

Java events:

Value classes, numeric conversions, primitive patterns:

JDK 28:

More from Inside Java

A discussion of Java's expanding support for AI workloads: From its strengths in adding AI features to existing applications to new capabilities for writing Java code that runs on GPUs; from having Ja…

24m

Object-Oriented Programming offers a lot of flexibility for modelling diverse domains but not all elements need that flexibility. Data, specifically, is often better modeled by simple, immutable types…

53m

On August 18th, 2026 a mail pops up on the hotspot-compiler-dev mailing list and it describes something that is not supposed to happen: a serious new bug in a JDK release candidate phase, just a few w…

8m

Given how prevalent Java is on web servers throughout the internet, security in Java is of critical importance. There's the security of the JDK itself, of course, which is overseen by the OpenJDK Secu…

33m