Oracle ships Java value classes disabled by default in JDK 28.

Value classes let Java store data like primitives — no heap pointers, no garbage collection — targeting performance-critical arrays and collections.

Oracle engineer Brian Goetz called this “only the first part of Valhalla”; it ships disabled by default.

Sources: Hacker News