Hi--
I've got the mass unused-method removal from Spoon working in Spur in Squeak 5.1. But now I have a juicy 12-megabyte chunk of free space in the middle of the 35-megabyte image that won't go away. There's just one Spur segment (I was expecting several?), with no pinned objects.
Is there a known Squeak image with multiple segments? Is there some way to split a segment? Am I just supposed to play with the grow overhead and shrink threshold in the VM simulator, until the compaction I want is triggered?
thanks!
-C
-- Craig Latta Black Page Digital Amsterdam | San Francisco craig@blackpagedigital.com +31 6 2757 7177 (SMS ok) + 1 415 287 3547 (no SMS)
Eliot mentioned using the vmaker sim to load the image and then save it after removing the empty space. Ah, found it -
Build a VMMaker image with image/buildspurtrunkvmmaker.sh and you can now use Spur32BitPreen to rewrite the image to be more compact. We can use this as part of the release process until Clément and I have fixed Spur compaction. e.g.
Spur32BitPreen new preenImage: '../oscogvm/image/trunk50' Looking for module ... loaded...computing accessor depths...done Looking for module ... loaded...computing accessor depths...done::::.............................................done. old heap size: 41,897,472 initial new heap size: 26,818,472 change: -35.99% final new heap size: 26,818,472 change: -35.99%
Done!
tim -- tim Rowledge; tim@rowledge.org; http://www.rowledge.org/tim Strange OpCodes: MD: Move and Drop bits
vm-dev@lists.squeakfoundation.org