[Vm-dev] VM Maker: Cog-eem.98.mcz
commits at source.squeak.org
commits at source.squeak.org
Sat Sep 21 14:41:59 UTC 2013
Eliot Miranda uploaded a new version of Cog to project VM Maker:
http://source.squeak.org/VMMaker/Cog-eem.98.mcz
==================== Summary ====================
Name: Cog-eem.98
Author: eem
Time: 21 September 2013, 7:41:44.069 am
UUID: 8027e935-f7b0-417a-be44-954c5765582d
Ancestors: Cog-eem.97
fix a couple of comments
=============== Diff against Cog-eem.97 ===============
Item was changed:
----- Method: SpurBootstrap class>>SmalltalkImagePROTOTYPEsetGCParameters (in category 'method prototypes') -----
SmalltalkImagePROTOTYPEsetGCParameters
"Adjust the VM's default GC parameters to avoid too much tenuring.
Maybe this should be left to the VM?"
| proportion edenSize survivorSize averageObjectSize numObjects |
proportion := 0.9. "tenure when 90% of pastSpace is full"
edenSize := SmalltalkImage current vmParameterAt: 44.
+ survivorSize := edenSize / 5.0. "David's paper uses 140Kb eden + 2 x 28kb survivor spaces; Spur uses the same ratios :-)"
- survivorSize := edenSize / 5.0. "David's paper uses 140Kb eden + 2 x 28kb survivor spaces; Spur does the same :-)"
averageObjectSize := 8 * self wordSize. "a good approximation"
numObjects := (proportion * survivorSize / averageObjectSize) rounded.
SmalltalkImage current vmParameterAt: 6 put: numObjects "tenure when more than this many objects survive the GC"!
Item was changed:
----- Method: SpurBootstrap class>>SystemDictionaryPROTOTYPEsetGCParameters (in category 'method prototypes') -----
SystemDictionaryPROTOTYPEsetGCParameters
"Adjust the VM's default GC parameters to avoid too much tenuring.
Maybe this should be left to the VM?"
| proportion edenSize survivorSize averageObjectSize numObjects |
proportion := 0.9. "tenure when 90% of pastSpace is full"
edenSize := SmalltalkImage current vmParameterAt: 44.
+ survivorSize := edenSize / 5.0. "David's paper uses 140Kb eden + 2 x 28kb survivor spaces; Spur uses the same ratios :-)"
- survivorSize := edenSize / 5.0. "David's paper uses 140Kb eden + 2 x 28kb survivor spaces; Spur does the same :-)"
averageObjectSize := 8 * self wordSize. "a good approximation"
numObjects := (proportion * survivorSize / averageObjectSize) rounded.
SmalltalkImage current vmParameterAt: 6 put: numObjects "tenure when more than this many objects survive the GC"!
More information about the Vm-dev
mailing list