[Vm-dev] VM Maker: VMMaker.oscog-eem.1341.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Jun 7 18:31:39 UTC 2015


Eliot Miranda uploaded a new version of VMMaker to project VM Maker:
http://source.squeak.org/VMMaker/VMMaker.oscog-eem.1341.mcz

==================== Summary ====================

Name: VMMaker.oscog-eem.1341
Author: eem
Time: 7 June 2015, 11:29:26.491 am
UUID: 191bffae-dc94-4a4f-a716-35a4621001a7
Ancestors: VMMaker.oscog-tpr.1340

Spur: Remember to count shrink requests

=============== Diff against VMMaker.oscog-tpr.1340 ===============

Item was changed:
  ----- Method: CogObjectRepresentationForSpur>>genStoreCheckContextReceiverTrampoline (in category 'initialization') -----
  genStoreCheckContextReceiverTrampoline
  	"Create a trampoline to store-check the update of the receiver in a closure's
  	 outerContext in compileBlockFrameBuild:."
  	| startAddress |
  	startAddress := cogit methodZoneBase.
  	cogit zeroOpcodeIndex.
  	self genStoreCheckReceiverReg: ReceiverResultReg valueReg: Arg0Reg scratchReg: TempReg inFrame: false.
  	cogit RetN: 0.
  	cogit outputInstructionsForGeneratedRuntimeAt: startAddress.
  	cogit recordGeneratedRunTime: 'ceStoreCheckContextReceiver' address: startAddress.
  	cogit recordRunTimeObjectReferences.
  	^startAddress!

Item was changed:
  ----- Method: SpurMemoryManager>>attemptToShrink (in category 'growing/shrinking memory') -----
  attemptToShrink
  	"Attempt to shrink memory after successfully reclaiming lots of memory."
  	(totalFreeOldSpace > shrinkThreshold
  	 and: [totalFreeOldSpace > growHeadroom]) ifTrue:
+ 		[statShrinkMemory := statShrinkMemory + 1.
+ 		 segmentManager shrinkObjectMemory: totalFreeOldSpace - growHeadroom]!
- 		[segmentManager shrinkObjectMemory: totalFreeOldSpace - growHeadroom]!



More information about the Vm-dev mailing list