Class reshaping and GC in ClassBuilder
stéphane ducasse
ducasse at iam.unibe.ch
Wed Aug 17 06:59:58 UTC 2005
With marcus we discuss about having a simple JIT that would transform
at run-time (during the first execution) a
named-based access to a offset-based bytecode for instance variable
access and this way we would have a much more dynamic
model for iv encodings. But this is not related to GC.
Stef
> 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
|