Yes I can believe you.
The mechanism in fact hijack the organisation field to put the method
dict and the method dict
field is nilled. Then the idea is that the virtual machine when it
gets nil in the method dictionary will not crash
but it will restore the method dict
this way you can see how much classes a certain function uses.
Now what we saw with mathieu is that when a browser is open all the
classes are used: it means that
all the methoddict are accessed somehow and we wanted to know why this
was like that
but we could not find it. And we found this bug that fucked up the
image of mathieu.
Stef
On Sep 30, 2008, at 10:30 AM, Michael Roberts wrote:
http://code.google.com/p/pharo/issues/detail?id=207
I couldn't figure it out but managed to make a mess of my my image...
Mike
On Mon, Sep 29, 2008 at 3:58 PM, Stéphane Ducasse
<[EMAIL PROTECTED]> wrote:
Hi
ImageSegment discoverActiveClasses.
is cool and it lets you (by swapping method dict behind your back)
knowing
which classes
have been involved in a certain action.
as follow
Now ImageSegment discoverActiveClasses.
-- do something typical --
ImageSegment activeClasses size printString , ' classes were active
out of '
,
Smalltalk allClasses size printString.
Now if following
recoverFromMDFaultWithTrace
you put
Smalltalk at: #MDFaultDict put: Dictionary new.
you get a strange error, tell you that there is syntax error
Stef
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project