[squeak-dev] re: Shrinking

Frank Shearar frank.shearar at gmail.com
Tue Jan 7 09:49:16 UTC 2014


On 7 January 2014 02:33, Craig Latta <craig at netjam.org> wrote:
>
> Hi Colin--
>
>      I think the best way to shrink is for the garbage collector to do
> it. There's an alternate version of the GC in Spoon[1], invoked with
> Interpreter>>primitiveSnapshotWithoutStaleMethods. It sets a mark bit on
> all the methods associated with contexts in extant processes, along with
> any other methods which have run (for example, by running unit tests).
> Then it treats all other methods as garbage in the pre-snapshot GC.

Craig, how difficult would it be to get the necessary VM changes for
this feature into the main VMs?

frank


More information about the Squeak-dev mailing list