Java Objects Inside Out
It is a recurrent question how much memory does a Java object take. In the absence of accessible sizeof operator, people left to wonder about the footprint impact on their code and/or resort to urban legends and tales from the wizards.
In this talk, we shall try to peek inside the Java objects and see what lies beneath. Once we do this, many tricks around object footprint would become apparent, some of the runtime footprint quirks would be explained, and some low-level performance behavior would hopefully be more clear.