On 1/3/23 20:01, Paul wrote: > Size Alignment Type > ========================= > 17 8 MyClass > > MyClassObj1 MyClassObj2 > 27727202000 27727202020 > ``` > If my size is 17 bytes and my alignment is 8 bytes, shouldn't my > MyClassObj2 in this example be @ 277272020**18** ?
Good question.I made some guesses about object layouts, GC allocation schemes, etc. but did not like any of them.
Ali