Class reshaping and GC in ClassBuilder

Daniel Vainsencher daniel.vainsencher at gmail.com
Mon Aug 15 23:04:29 UTC 2005


Hi everyone.

At the moment, loading Traits into the image takes a while, because it 
adds an instance variable to Behavior. This means that it reshapes all 
of the metaclasses in the system, and since the reshaping of each class 
requires a GC, this is very slow.

Has anyone looked into any of the alternatives that don't require a GC 
for class reshaping?

Daniel Vainsencher



More information about the Squeak-dev mailing list