Project Valhalla

Java’s ‘Everything Is an Object’ Promise Just Died. Here’s What That Means.

JEP 401 merged into OpenJDK master, bringing value objects that eliminate identity overhead. The performance gains are real, but the hidden disruption is that code relying on object identity — == comparisons, synchronization, weak references — will silently break. Java’s ‘everything is an object’ era is ending.