Learn how Compressed Oops is used on 64-bit systems to represent references to Java objects with 32 bits instead of 64, significantly reducing memory requirements. The technique allows addressing 32 GB of memory using 32-bit pointers by positioning Java objects at memory addresses divisible by eight and shifting bits. Compressed Oops are enabled by default for heaps up to 32 GB but can be disabled with a VM option to squeeze out extra performance at the cost of increased memory use.

3m read timeFrom happycoders.eu
Post cover image
Table of contents
What is a 64-Bit System?How does Compressed Oops Work?Compressed Oops are Enabled by DefaultConclusion
1 Comment

Sort: