Hi, I&#39;m investigating the format of objects in memory. After some time I got this conclusions/questions I&#39;d like to know more about:<div><br></div><div>- Oops must be at least 16 bits aligned, because of SmallIntegers tagging, is that right?</div>

<div>- Raw object sizes are 32 bits aligned, because of size field in header which is in 32 bits words. So that for byte indexed instances there may be at most 3 wasted bytes (format field in that case tell the amount not used of the last 4 bytes). Is that the way that the VM assures the alignment of the oops?</div>

<meta http-equiv="content-type" content="text/html; charset=utf-8"><div>- And the last one and the most puzzling for me: how does objectAfter: anOop work? I mean, for what I see, it returns the addition of anOop and the size of the object pointed by anOop, but how can it be sure that that is the base header and not the size or class field of the extended header?</div>

<div><br clear="all">Thanks!</div><div>          Javier.</div><div><br>-- <br>Javier Pimás<br>Ciudad de Buenos Aires<br>
</div>