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

commits at source.squeak.org commits at source.squeak.org
Tue Mar 25 00:24:52 UTC 2014


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

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

Name: VMMaker.oscog-eem.656
Author: eem
Time: 24 March 2014, 5:22:29.154 pm
UUID: 03e04241-b10f-4620-9be5-99543d124412
Ancestors: VMMaker.oscog-eem.655

[New]ObjectMemory need to provide whereIsMaybeHeapThing:

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

Item was added:
+ ----- Method: NewObjectMemory>>whereIsMaybeHeapThing: (in category 'debug printing') -----
+ whereIsMaybeHeapThing: anOop
+ 	<returnTypeC: 'char *'>
+ 	(self oop: anOop isGreaterThanOrEqualTo: self startOfMemory andLessThan: endOfMemory) ifTrue:
+ 		[(self oop: anOop isLessThan: freeStart) ifTrue:
+ 			[^' is in old space'].
+ 		 (self oop: anOop isLessThan: reserveStart) ifTrue:
+ 			[^' is in new space'].
+ 		 ^' is above reserve start'].
+ 	^nil!

Item was added:
+ ----- Method: ObjectMemory>>whereIsMaybeHeapThing: (in category 'debug printing') -----
+ whereIsMaybeHeapThing: anOop
+ 	<returnTypeC: 'char *'>
+ 	(self oop: anOop isGreaterThanOrEqualTo: self startOfMemory andLessThan: endOfMemory) ifTrue:
+ 		[(self oop: anOop isLessThan: freeBlock) ifTrue:
+ 			[^' is in old space'].
+ 		 ^' is in new space'].
+ 	^nil!



More information about the Vm-dev mailing list