Java 27 compact object headers: 4 fewer bytes of header per object
An empty Object costs 16 bytes, 12 of them header. Java 27 enables Compact Object Headers by default: how the 64 bits are repartitioned, how locking and GC cope, and how to measure it with JOL.




