Java Cup
Inside Java

News and views from members of the Java team at Oracle

Adaptive Heap Sizing + Numeric Conversion + Primitive Patterns - Inside Java Newscast #117

Also available as Inside Java Podcast #75:

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.

Show Notes

Adaptive heap sizing for ZGC:

Java events:

Value classes, numeric conversions, primitive patterns:

JDK 28:

Additional Resources

The "Inside Java Newscast" is a monthly YouTube show - check out the YouTube playlist for all the episodes. Since 2026, we also publish it as a podcast. For more Java news, subscribe to our RSS feed and follow @Java on X.

Contact us.