Am 01.12.2025 um 20:37 schrieb Ethan McCue: > One more question: How does the code today work around things like the > small integer cache? It allocates for each field a "new Integer(0)". As long as Integer have an identity two of these values are distinguishable and can serve as different keys in a IdentityHashMap .