The Trunk: System-eem.834.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: System-eem.834.mcz

commits-2
Eliot Miranda uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-eem.834.mcz

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

Name: System-eem.834
Author: eem
Time: 23 June 2016, 4:30:25.198834 pm
UUID: d42d7b14-27ee-49c9-9469-b7f7d1b48395
Ancestors: System-mt.833

More accurately comment the semantics of the growMemoryByAtLeast: primitive on Spur.

=============== Diff against System-mt.833 ===============

Item was changed:
  ----- Method: SmalltalkImage>>growMemoryByAtLeast: (in category 'memory space') -----
  growMemoryByAtLeast: numBytes
  "Grow memory by at least the requested number of bytes.
+ Primitive.  Fail if no memory is available.  Essential.
+ N.B. In Spur, the heap is composed of segments. Growing memory adds a new
+ segment; it does not extend existing segments. Growth is by at least that
+ established by SmalltalkImage current vmParameterAt: 25, which defaults to 16Mb."
- Primitive.  Essential. Fail if no memory is available."
  <primitive: 180>
+ ^(numBytes isInteger and: [numBytes > 0])
+ ifTrue: [OutOfMemory signal]
+ ifFalse: [self primitiveFailed]!
- (numBytes isInteger and: [numBytes > 0]) ifTrue:
- [OutOfMemory signal].
- ^self primitiveFailed!

Item was changed:
  ----- Method: SystemDictionary>>growMemoryByAtLeast: (in category 'memory space') -----
  growMemoryByAtLeast: numBytes
  "Grow memory by at least the requested number of bytes.
+ Primitive.  Fail if no memory is available.  Essential.
+ N.B. In Spur, the heap is composed of segments. Growing memory adds a new
+ segment; it does not extend existing segments. Growth is by at least that
+ established by SmalltalkImage current vmParameterAt: 25, which defaults to 16Mb."
- Primitive.  Fail if no memory is available.  Essential."
  <primitive: 180>
  ^(numBytes isInteger and: [numBytes > 0])
  ifTrue: [OutOfMemory signal]
  ifFalse: [self primitiveFailed]!