[squeak-dev] The Trunk: System-fbs.596.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Sep 24 21:18:07 UTC 2013


Frank Shearar uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-fbs.596.mcz

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

Name: System-fbs.596
Author: fbs
Time: 24 September 2013, 10:17:57.556 pm
UUID: 93f8b749-614d-4348-a4f5-61ca68658dc8
Ancestors: System-fbs.595, System-nice.595

Merge (fbs + nice).595

=============== Diff against System-fbs.595 ===============

Item was changed:
  ----- Method: SmalltalkImage>>maxExternalSemaphores: (in category 'vm parameters') -----
  maxExternalSemaphores: aSize
  	"Changes the size of table where external semaphores are registered. 
  	The size can only grow, and will always be the next power of two larger than the parameter.
  	
  	Setting this at any time other than start-up can potentially lose requests.
+ 	 i.e. during the realloc new storage is allocated,
+ 	the old contents are copied and then pointers are switched. 
- 	 i.e. during the realloc new storage is allocated, t
- 	he old contents are copied and then pointers are switched. 
  	 Requests occurring during copying won't be seen if they occur to indices already copied. 
  	The intended use is to set the table to some adequate maximum at start-up"
  	
  	self isRunningCog ifFalse: [^0].
  	"The vm-header field is a short, maximum 64k entries. Well, on most platforms anyways "
+ 	(aSize < 0 or: [aSize > 16rFFFF]) ifTrue: [^self error: 'maxExternalSemaphores: is limited to 16rFFFF'].
- 	(aSize < 0 or: [aSize > 16rFFFF]) ifTrue: [^DomainError signalFrom: 0 to: 16rFFFF].
  	^self vmParameterAt: 49 put: aSize!



More information about the Squeak-dev mailing list