image/svg+xml
widget wrapperobject
vtable
slot 0
slot 1...
Actually we have tore-introduce the dataindirection, becauseobjects can be reallocatedat runtime.Inline allocation is stilla win in the normal,non-reallocated case.
data
widget wrapperobject(reallocated)
vtable
deadslot 0
deadslot 1...
Note that afterreallocation the setof slots might change.This can occur if youadd a field to yourclass, for example.
data
newslot 0
newslot 1...