Loading…
Topic
JVM
1 post about JVM. Every summary links to the original.
- 1 post
- 1 company
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
Newest first
Posts
Where Did the Saved Bytes Go? Compact Object Headers in IntelliJ IDEA
IntelliJ IDEA evaluated compact object headers, enabled by default in Java 27 through Project Lilliput and JEP 534, on a large JVM application. Tests compared headers on and off for the Welcome screen, Spring Petclinic at about 3,370 lines, and the IntelliJ IDEA monorepo at about 26.5 million lines. Resident set size showed no consistent reduction at identical -Xmx limits, because RSS includes heap headroom, metadata, JIT code, stacks, native buffers, and shared libraries. Modeled footprints for identical captured heaps fell about 6.3% for Welcome and Petclinic and 8.2% to 8.4% for the monorepo, depending on object shapes, field offsets, and eight-byte padding. The lowest tested heap fell from 400 to 376 MiB for Petclinic and from 1,888 to 1,568 MiB for the monorepo, while operation times and GC metrics trended better; authors advise measuring RSS, heap, and speed separately.
Related topics
All topics →Weekly digest
The best engineering reads, once a week.