On 04/05/19 1:23 PM, commits@source.squeak.org wrote:
- "compact memory and compute the size of the memory actually in use"
- objectMemory incrementalGC.
- "maximimize space for forwarding table"
- objectMemory fullGC.
- self snapshotCleanUp.
why call fullGC immediately after incrementalGC but before snapshotCleanup? cleanup may create fresh garbage, so should fullGC be done post cleanup?
- ^objectMemory getFreeBlock - objectMemory startOfMemory. "Assume all objects are below the start of the free block"
Wouldn't this expression be better off as a method in ClassicObjectMemory?
sizeInBytes ^self getFreeBlock - self startOfMemory
Regards .. Subbu