Trick behind JVM’s compressed Oops
For a detailed explanation of compressed oops, see the “Compressed oops in the Hotspot JVM” article by John Rose @ Oracle. The TL;DR version is: on modern computer architectures, memory addresses are byte addresses, Java object references are addresses that point to the start of a word1, on a 64-bit machine, word alignment means that … Read more