!["Adaptive Heap Sizing + Numeric Conversion + Primitive Patterns" [IJN]](https://static.libsyn.com/p/assets/2/0/a/f/20af19473fb17bca5f2e77a3093c12a1/Cover.png)
Episode 27 · Season 3
"Adaptive Heap Sizing + Numeric Conversion + Primitive Patterns" [IJN]
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:
- JEP 546 - Adaptive Heap Sizing for ZGC: https://openjdk.org/jeps/546
Java events:
- FOSDEM: https://wiki.debian.org/Java/DevJam/2027/Fosdem
- JVMLS: https://openjdk.org/projects/mlvm/jvmlangsummit/
- JavaOne tickets: https://www.oracle.com/javaone/register/
Value classes, numeric conversions, primitive patterns:
- JLS on conversions: https://docs.oracle.com/en/java/javase/27/docs/specs/jls/jls-5.html
- Brian Goetz on type classes: https://www.youtube.com/watch?v=Gz7Or9C0TpM
- Amber mail on primitive patterns: https://mail.openjdk.org/archives/list/[email protected]/thread/UYEK3PGOHN6R56AHJTSLPGAY363K666S/
- Amber mail on constant patterns: https://mail.openjdk.org/pipermail/amber-spec-experts/2026-January/004306.html
JDK 28:
- early-access builds: https://jdk.java.net/28/
- feature list: http://openjdk.org/projects/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…
This episode of the Inside Java Podcast is the Ask the Architect session from Devoxx Belgium 2026, where the audience members literally asked the Java architects their questions. They inquired about c…
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…
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…
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…