plugin code and garbage collection
Tim Rowledge
tim at sumeru.stanford.edu
Sat Aug 3 00:38:35 UTC 2002
On Friday, August 2, 2002, at 03:51 PM, Andreas Raab wrote:
> Keep in mind that using pushRemappableOop: is only safe up to the size
> of the remap-buffer (25 items right now). After exceeding it your Squeak
> will horribly crash.
>
> So if you have many objects a better solution might be to pre-allocate
> them on the Squeak-level and just "fill them in" by the primitive.
I'll just reiterate my view that this latter technique is always a better
idea since lets the image handle any/all problems relating to allocation.
In a prim about all you can do is throw your hands up and fail.
tim at sumeru.stanford.edu
More information about the Squeak-dev
mailing list
|