Object Identity

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.

The JSON Hash You Trust Is Lying to You

Most developers treat JSON hashing as a solved problemโ€”sort keys, stringify, hash. But circular references reveal a hidden flaw: libraries that handle cycles can silently produce identical hashes for structurally different objects. A Hacker News comment on the new library Kokuin exposes this collision risk, challenging the assumption that deterministic hashing is safe for caching and deduplication.