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

commits at source.squeak.org commits at source.squeak.org
Mon Jun 6 19:40:21 UTC 2016


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

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

Name: VMMaker.oscog-eem.1880
Author: eem
Time: 6 June 2016, 12:38:04.937574 pm
UUID: 1d6ad311-63fd-456b-bc35-aaaf1d9f1829
Ancestors: VMMaker.oscog-eem.1879

Minor cleanups prior to checking in primitive retry on allocation failure.

In 1880 the first electric streetlight is installed in Wabash, Indiana.

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

Item was changed:
  ----- Method: InterpreterPrimitives>>failed (in category 'primitive support') -----
  failed
  	<api>
+ 	<inline: true>
  	"In C, non-zero is true, so avoid computation by simply answering primFailCode in the C version."
  	^self cCode: [primFailCode] inSmalltalk: [primFailCode ~= 0]!

Item was changed:
  ----- Method: InterpreterPrimitives>>primitiveIncrementalGC (in category 'memory space primitives') -----
  primitiveIncrementalGC
  	"Do a quick, incremental garbage collection and return the number of bytes immediately available.
  	 (Note: more space may be made available by doing a full garbage collection."
  
+ 	objectMemory hasSpurMemoryManagerAPI
+ 		ifTrue: [objectMemory scavengingGC]
+ 		ifFalse: [objectMemory incrementalGC].
- 	objectMemory incrementalGC.
  	self pop: 1 thenPushInteger: (objectMemory bytesLeft: false)!

Item was changed:
  CogClass subclass: #SpurMemoryManager
(excessive size, no diff calculated)

Item was changed:
  ----- Method: StackInterpreterPrimitives>>primitiveIncrementalGC (in category 'memory space primitives') -----
  primitiveIncrementalGC
  	"Do a quick, incremental garbage collection and return the number of bytes immediately available.
  	 (Note: more space may be made available by doing a full garbage collection."
  
  	self externalWriteBackHeadFramePointers.
+ 	super primitiveIncrementalGC!
- 	objectMemory hasSpurMemoryManagerAPI
- 		ifTrue: [objectMemory scavengingGC]
- 		ifFalse: [objectMemory incrementalGC].
- 	self pop: 1 thenPushInteger: (objectMemory bytesLeft: false)!



More information about the Vm-dev mailing list