The Trunk: KernelTests-eem.384.mcz

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

The Trunk: KernelTests-eem.384.mcz

Eliot Miranda uploaded a new version of KernelTests to project The Trunk:

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

Name: KernelTests-eem.384
Author: eem
Time: 16 July 2020, 3:13:09.314392 pm
UUID: da087b71-cc6c-42d5-b8e7-fe03fca763c2
Ancestors: KernelTests-tpr.383

Revert KernelTests-tpr.383's setFreeSpaceLimitOf:around: now that the VM correctly accepts large integers for vm parameter #57.

=============== Diff against KernelTests-tpr.383 ===============

Item was changed:
  ----- Method: AllocationTest>>setFreeSpaceLimitOf:around: (in category 'support') -----
  setFreeSpaceLimitOf: bytes around: aBlock
  "Attempt to evaluate aBlock with a limit of the requested ammount
  of free old space, restoring the extant limit after the evaluation."
  | extantLimit |
  extantLimit := Smalltalk vmParameterAt: 67.
+ Smalltalk vmParameterAt: 67 put: (Smalltalk vmParameterAt: 1) + bytes asInteger.
- Smalltalk vmParameterAt: 67 put: ((Smalltalk vmParameterAt: 1) + bytes asInteger min: SmallInteger maxVal).
  ^aBlock ensure: [Smalltalk vmParameterAt: 67 put: extantLimit]!