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

commits at source.squeak.org commits at source.squeak.org
Wed Feb 11 19:11:58 UTC 2015


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

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

Name: VMMaker.oscog-eem.1053
Author: eem
Time: 11 February 2015, 11:10:38.333 am
UUID: 86f23972-c4fa-430d-93b9-865bb86a098d
Ancestors: VMMaker.oscog-eem.1052

...and fix initialization of those constants on generation

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

Item was changed:
  ----- Method: SpurMemoryManager class>>initializeObjectHeaderConstants (in category 'class initialization') -----
  initializeObjectHeaderConstants
  
  	BytesPerWord ifNil: [BytesPerWord := 4].  "May get called on fileIn, so supply default"
  	BaseHeaderSize := 8. "This is still needed for VM generation."
  
  	"These are used in image segments"
+ 	self ~~ SpurMemoryManager ifTrue:
+ 		[TopHashBit := 1 << (self basicNew identityHashFieldWidth - 1).
+ 		 TopOopBit := 1 << (self basicNew bytesPerOop * 8 - 1)]!
- 	TopHashBit := 1 << (self basicNew identityHashFieldWidth - 1).
- 	TopOopBit := 1 << (self basicNew bytesPerOop * 8 - 1)!



More information about the Vm-dev mailing list