21,060 views
The nearest conference is JPoint 2025, April 3–4 (Moscow + broadcast). Details and tickets: https://jrg.su/T2zfbS — — One of the frequently asked questions about Java objects is how much memory they take up? In the absence of a language or library operation "sizeof", programmers are left to guess about the footprint of their code or refer to legends and stories of experts. In this report, we will try to look into the underbelly of Java objects and see what lies in them. After this, many tricks in the object footprint should become clear, some features of runtimes will become clear, and it will be obvious what and how can be exploited for dirty low-level purposes.