[Vm-dev] VM Maker: Cog-eem.309.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Dec 16 22:34:21 UTC 2015


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

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

Name: Cog-eem.309
Author: eem
Time: 16 December 2015, 2:34:00.841 pm
UUID: 43ab3a22-74ae-423b-9b07-ad33de700ed4
Ancestors: Cog-eem.308

Initial fixes for the Cuis Spur bootstrap.

=============== Diff against Cog-eem.308 ===============

Item was added:
+ ----- Method: SpurBootstrap>>allInstancesOf: (in category 'bootstrap methods') -----
+ allInstancesOf: classOop
+ 	| instances |
+ 	instances := OrderedCollection new.
+ 	oldHeap allObjectsDo:
+ 		[:o|
+ 		((oldHeap isPointersNonImm: o)
+ 		 and: [(oldHeap fetchClassOf: o) = classOop]) ifTrue:
+ 			[instances addLast: o]].
+ 	^instances!

Item was added:
+ ----- Method: SpurBootstrap>>silenceImage (in category 'bootstrap image') -----
+ silenceImage
+ 	"Turn off change notifications via SystemChangeNotifier"
+ 	(self allInstancesOf: (self findClassNamed: (self findSymbol: #SystemChangeNotifier))) do:
+ 		[:obj | oldHeap storePointer: 1 ofObject: obj withValue: (oldHeap integerObjectOf: 1)]!

Item was changed:
  ----- Method: SpurBootstrap>>transform (in category 'bootstrap image') -----
  transform
+       self silenceImage.
  	self findRequiredGlobals.
  	self installModifiedMethods.
  	self recreateSpecialObjectsArray.
  	self initializeClasses.
  	self bootstrapImage.
  	self validate.
  	self rehashImage.
  	self followForwardingPointers.
  	self scavengeImage.
  	self freeForwarders.
  	self compactImage.
  	self reportSizes!



More information about the Vm-dev mailing list