ClementBera uploaded a new version of VMMaker to project VM Maker:
http://source.squeak.org/VMMaker/VMMaker.oscog-cb.2271.mcz==================== Summary ====================
Name: VMMaker.oscog-cb.2271
Author: cb
Time: 3 October 2017, 12:49:24.281973 pm
UUID: d9dbdd61-ad17-40bb-a67b-8bf48d77bbad
Ancestors: VMMaker.oscog-cb.2270
Since this commit SpurSweeper seems to be production-ready. I compiled a VM with SpurSweeper and it worked just fine, handling many GCs.
I need to talk with Eliot about how to use another ompactor for snapshots. Once done, I can start working on the SelectiveCompactor.
=============== Diff against VMMaker.oscog-cb.2270 ===============
Item was changed:
----- Method: SpurSelectiveCompactor>>compact (in category 'api') -----
compact
<inline: #never> "for profiling"
biasForGC
ifTrue: [self internalCompact]
+ ifFalse: ["Should use a compacting algo instead"self internalCompact]
- ifFalse: [aggressiveCompactor compact]
!
Item was removed:
- ----- Method: SpurSweeper>>coInterpreter: (in category 'initialization') -----
- coInterpreter: aVMSimulator
- <doNotGenerate>
- super coInterpreter: aVMSimulator.
- aggressiveCompactor coInterpreter: aVMSimulator.!
Item was changed:
----- Method: SpurSweeper>>compact (in category 'api') -----
compact
- "Unless we're snapshotting, use a non-compacting sweep algorithm"
<inline: #never> "for profiling"
biasForGC
ifTrue: [self globalSweep]
+ ifFalse: ["Should use a compacting algo instead"self globalSweep]!
- ifFalse: [aggressiveCompactor compact]!
Item was removed:
- ----- Method: SpurSweeper>>initialize (in category 'initialization') -----
- initialize
- aggressiveCompactor := SpurPlanningCompactor new.!
Item was removed:
- ----- Method: SpurSweeper>>manager: (in category 'initialization') -----
- manager: aSpurNBitMMXEndianSimulator
- <doNotGenerate>
- super manager: aSpurNBitMMXEndianSimulator.
- aggressiveCompactor manager: aSpurNBitMMXEndianSimulator!