[squeak-dev] ImageSegment vs SmartRefStream
renggli at gmail.com
Tue Dec 22 13:17:16 UTC 2009
> 1) which is the difference between ImageSegment and SmartRefStream ? what
> does each of them do ?
ImageSegment depends on SmartRefStream. SmartRefStream is independent
of ImageSegment and can also be used alone.
> 2) Who uses who ? ImageSegment uses SmartRefStream or vice-versa? each one
> use the other?
ImageSegment uses SmartRefStream to serialize itself. That includes
its internal state (the image segment object), the ByteArray that the
VM primitive produces, as well as incoming and outgoing references
(for example classes and symbols).
> 3) Which is the difference between ReferenceStream and SmartRefStream ?
SmartRefStream can handle class shape changes. ReferenceStream not.
More information about the Squeak-dev