[squeak-dev] Re: What are MethodDictionary faults?

Mariano Martinez Peck marianopeck at gmail.com
Wed Dec 23 14:13:55 UTC 2009


On Wed, Dec 23, 2009 at 3:10 PM, Andreas Raab <andreas.raab at gmx.de> wrote:

> Mariano Martinez Peck wrote:
>
>> Forget about discovering classes, could be possible that for a certain
>> situation the VM puts a nil to a method directory or always that happens
>> this is done with that intention, throught the message induceMDFault ?   If
>> it is always throught induceMDFault   the only sender is to discover used
>> classes with ImageSegment.  So...it is used ONLY in that?
>>
>
> If we ignore the possibility of bugs causing it (i.e. using #instVarAt:put:
> accidentally) then yes. At least I'm not aware of any other use.
>
>
That's true. But it I understood correctly, not even in that case the
recover will work. Because the recover will search the methodDict in the
category (organization). So, if I just set a nil to the methodDict using
#instVarAt:put:  but I don't "backup" the methodDic in the category, the
recover won't work.

I am right ?

Cheers,

Mariano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20091223/90d1e19e/attachment.htm


More information about the Squeak-dev mailing list