[squeak-dev] The Trunk: Kernel-dtl.1246.mcz

David T. Lewis lewis at mail.msen.com
Fri Jul 19 00:38:08 UTC 2019


This prevents VM hanging or crashing on #nextObject. As Levente mentioned,
#nextInstance also should be #shouldNotImplement for all immediates, but
the current (non)implementation seems harmless.

Dave

On Fri, Jul 19, 2019 at 12:07:45AM +0000, commits at source.squeak.org wrote:
> David T. Lewis uploaded a new version of Kernel to project The Trunk:
> http://source.squeak.org/trunk/Kernel-dtl.1246.mcz
> 
> ==================== Summary ====================
> 
> Name: Kernel-dtl.1246
> Author: dtl
> Time: 18 July 2019, 8:07:43.108638 pm
> UUID: 0ac79852-6ed3-48c8-8b6e-d76b28bdbf18
> Ancestors: Kernel-mt.1245
> 
> Characters and small floats are immediate objects in Spur and should not implement #nextObject.
> 
> =============== Diff against Kernel-mt.1245 ===============
> 
> Item was added:
> + ----- Method: SmallFloat64>>nextObject (in category 'system primitives') -----
> + nextObject
> + 	"Small floats are immediate objects, and, as such, do not have successors in object memory."
> + 
> + 	self shouldNotImplement !
> 
> 


More information about the Squeak-dev mailing list