[ENH] RehashingSystemTracer

Stephen Pair spair at acm.org
Sat Aug 24 03:08:26 UTC 2002


Attached are change sets that build on Anthony Hannan's SystemTracer2 to
add rehashing capabilities in the form of a new subclass called
RehashingSystemTracer.  Also, the performance of SystemTracer2 is
improved (11 minutes down to about 4 on my machine) by using my
LargeIdentityDictionary (in the EAD change sets).  The
LargeIdentityDictionary doesn't fight with the garbage collector as much
as it would with a single large dictionary.

The RehashingSystemTracer will rehash some key sets (like
MethodDictionaries) as it is writing the clone image.  When the clone
image starts up, all objects in the image get rehashed (via a new method
on SystemDictionary).  You can subclass the RehashingSystemTracer for
your own tracing needs.

Load these in the following order:

EAD-preload.cs
EAD.cs
SystemTracer2-ajh-svp.cs

I've also put these on my website:
http://spair.swiki.net/squeak%20things

- Stephen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SystemTracer2-ajh-svp.cs
Type: application/octet-stream
Size: 28508 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20020823/64048718/SystemTracer2-ajh-svp.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: EAD-preload.cs
Type: application/octet-stream
Size: 17995 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20020823/64048718/EAD-preload.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: EAD.cs
Type: application/octet-stream
Size: 76321 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20020823/64048718/EAD.obj


More information about the Squeak-dev mailing list