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

commits at source.squeak.org commits at source.squeak.org
Sat Jun 10 05:53:30 UTC 2017


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

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

Name: VMMaker.oscog-eem.2241
Author: eem
Time: 9 June 2017, 10:52:32.120938 pm
UUID: 774617ec-a18f-4da7-be97-d6e26ddc5ff3
Ancestors: VMMaker.oscog-eem.2240

Spur:
Fix sign extension bug with new allocated bytes count.

=============== Diff against VMMaker.oscog-eem.2240 ===============

Item was changed:
  ----- Method: SpurMemoryManager class>>declareCVarsIn: (in category 'translation') -----
  declareCVarsIn: aCCodeGenerator
  	self declareCAsOop: #(	memory freeStart scavengeThreshold newSpaceStart newSpaceLimit pastSpaceStart
  							lowSpaceThreshold freeOldSpaceStart oldSpaceStart endOfMemory firstFreeChunk lastFreeChunk)
  		in: aCCodeGenerator.
  	self declareCAsUSqLong: (self allInstVarNames select: [:ivn| ivn endsWith: 'Usecs']), #(statAllocatedBytes)
  		in: aCCodeGenerator.
  	aCCodeGenerator
  		var: #freeListsMask type: #usqInt;
  		var: #freeLists type: #'sqInt *';
  		var: #objStackInvalidBecause type: #'char *';
  		var: #unscannedEphemerons type: #SpurContiguousObjStack;
  		var: #heapGrowthToSizeGCRatio type: #float;
  		var: #heapSizeAtPreviousGC type: #usqInt;
  		var: #totalFreeOldSpace type: #usqInt;
+ 		var: #maxOldSpaceSize type: #usqInt.
- 		var: #maxOldSpaceSize type: #usqInt;
- 		var: #oldSpaceUsePriorToScavenge type: #usqInt.
  	aCCodeGenerator
+ 		var: #oldSpaceUsePriorToScavenge type: #sqLong.
+ 	aCCodeGenerator
  		var: #remapBuffer
  		declareC: 'sqInt remapBuffer[RemapBufferSize + 1 /* ', (RemapBufferSize + 1) printString, ' */]'.
  	aCCodeGenerator
  		var: #extraRoots
  		declareC: 'sqInt *extraRoots[ExtraRootsSize + 1 /* ', (ExtraRootsSize + 1) printString, ' */]'!



More information about the Vm-dev mailing list