plugin code and garbage collection
Stephen Pair
spair at acm.org
Fri Aug 2 22:46:22 UTC 2002
Yes and yes...use ObjectMemory>>pushRemappableOop: and
ObjectMemory>>popRemappableOop for oops that you need to hold across an
object allocation (which can trigger gc and memory compaction).
- Stephen
> -----Original Message-----
> From: squeak-dev-admin at lists.squeakfoundation.org
> [mailto:squeak-dev-admin at lists.squeakfoundation.org] On
> Behalf Of Arjen van Elteren
> Sent: Friday, August 02, 2002 6:31 PM
> To: squeak-dev at lists.squeakfoundation.org
> Subject: plugin code and garbage collection
>
>
> Hi,
>
> I'm playing with building my own plugin. In this code objects are
> instanciated and linked up, filling the reciever
> object of the primitive function. These questions came up...
> Will the gc
> run during object creation ?. Will OOPs change when a gc runs
> during these
> operations ?
>
> Arjen
>
>
>
>
More information about the Squeak-dev
mailing list
|