I try to synchronize my MinimalMorphic with trunk. At some point have the following walkback Error: Please check size of special objects array! 17 December 2009 7:36:31 am VM: Mac OS - a SmalltalkImage Image: MinimalMorphic [latest update: #7261] SecurityManager state: Restricted: false FileAccess: true SocketAccess: true Working Dir /Users/edgar/SqueakDevelop/Squeak3.11 Trusted Dir /foobar/tooBar/forSqueak/bogus Untrusted Dir /Users/edgar/Library/Preferences/Squeak/Internet/My Squeak PseudoContext class(Object)>>error: Receiver: PseudoContext Arguments and temporary variables: aString: 'Please check size of special objects array!' When I see in my uop to date Squeak3.11-8496-alpha.image is Smalltalk specialObjectsArray size = 50 But PseudoContext> initialize says Smalltalk specialObjectsArray size = 41 ifFalse: [self error: 'Please check size of special objects array!'] So something is wrooong.. Or? I appreciate any clues. Edgar |
On Thu, 17 Dec 2009, Edgar J. De Cleene wrote:
> Folks: > > I try to synchronize my MinimalMorphic with trunk. > At some point have the following walkback > > Error: Please check size of special objects array! > 17 December 2009 7:36:31 am > > VM: Mac OS - a SmalltalkImage > Image: MinimalMorphic [latest update: #7261] > > SecurityManager state: > Restricted: false > FileAccess: true > SocketAccess: true > Working Dir /Users/edgar/SqueakDevelop/Squeak3.11 > Trusted Dir /foobar/tooBar/forSqueak/bogus > Untrusted Dir /Users/edgar/Library/Preferences/Squeak/Internet/My Squeak > > PseudoContext class(Object)>>error: > Receiver: PseudoContext > Arguments and temporary variables: > aString: 'Please check size of special objects array!' > > When I see in my uop to date Squeak3.11-8496-alpha.image is > > Smalltalk specialObjectsArray size = 50 > > But PseudoContext> initialize says > > Smalltalk specialObjectsArray size = 41 > ifFalse: [self error: 'Please check size of special objects array!'] > > So something is wrooong.. Or? The code is obsolete, the size of the array is 50 since 2004 or so. Levente > > I appreciate any clues. > > Edgar > |
On 12/17/09 9:25 AM, "Levente Uzonyi" <[hidden email]> wrote: > The code is obsolete, the size of the array is 50 since 2004 or so. > > > Levente Thanks, I also think so, but like check just in case. Edgar |
In reply to this post by Levente Uzonyi-2
Some plugins, like FFI (and i expect some others) extending the
special objects array with couple more entries. What i thinking about, is that how we could make this scheme more flexible. The problem with current implementation is that if i made a plugin, which needs some additional special object(s), it should reserve a couple more slots in specialObjectsArray. And it creates a bottleneck, since you need to tell all other developers, that you reserving these slots for own plugin. Maybe a better scheme would be to tell VM to associate a name with given object, so then plugin could fetch that object by symbolic name. This is a bit slower than fetching by index, but more flexible, since we no longer dependent on rigid & static size of specialobjects array and its slots meanings. 2009/12/17 Levente Uzonyi <[hidden email]>: > On Thu, 17 Dec 2009, Edgar J. De Cleene wrote: > >> Folks: >> >> I try to synchronize my MinimalMorphic with trunk. >> At some point have the following walkback >> >> Error: Please check size of special objects array! >> 17 December 2009 7:36:31 am >> >> VM: Mac OS - a SmalltalkImage >> Image: MinimalMorphic [latest update: #7261] >> >> SecurityManager state: >> Restricted: false >> FileAccess: true >> SocketAccess: true >> Working Dir /Users/edgar/SqueakDevelop/Squeak3.11 >> Trusted Dir /foobar/tooBar/forSqueak/bogus >> Untrusted Dir /Users/edgar/Library/Preferences/Squeak/Internet/My Squeak >> >> PseudoContext class(Object)>>error: >> Receiver: PseudoContext >> Arguments and temporary variables: >> aString: 'Please check size of special objects array!' >> >> When I see in my uop to date Squeak3.11-8496-alpha.image is >> >> Smalltalk specialObjectsArray size = 50 >> >> But PseudoContext> initialize says >> >> Smalltalk specialObjectsArray size = 41 >> ifFalse: [self error: 'Please check size of special objects array!'] >> >> So something is wrooong.. Or? > > The code is obsolete, the size of the array is 50 since 2004 or so. > > > Levente > >> >> I appreciate any clues. >> >> Edgar >> > > -- Best regards, Igor Stasenko AKA sig. |
Free forum by Nabble | Edit this page |