[Vm-dev] VM Maker Inbox: VMMaker-dtl.401.mcz
K K Subbu
kksubbu.ml at gmail.com
Sat May 4 17:23:04 UTC 2019
On 04/05/19 1:23 PM, commits at 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?
^self getFreeBlock - self startOfMemory
Regards .. Subbu
More information about the Vm-dev