Why it matters

Object headers are significant memory. Lilliput saves. Understanding shapes memory footprint.

Advertisement

The architecture

Current: 12-byte header + potential padding.

Lilliput: 8-byte target then 4-byte long-term.

Object header reductionCurrent header12-16 bytesLilliput 8-bytemedium term4-bytelong term20% typical memory savings; more on many-small-object workloads
Lilliput progression.
Advertisement

How it works end to end

Impact: many-small-objects workloads (e.g., HashMap heavy).

Trade-offs: some JVM features rely on header bits.

Compatibility: transparent to Java code.