Re: is there a way to know when a GC is happening?
Posted by
Eliot Miranda-2 on
Sep 10, 2020; 5:02am
URL: https://forum.world.st/is-there-a-way-to-know-when-a-GC-is-happening-tp5121531p5121557.html
On Wed, Sep 9, 2020 at 9:49 PM Esteban Maringolo <
[hidden email]> wrote:
On Wed, Sep 9, 2020 at 11:58 PM Eliot Miranda <[hidden email]> wrote:
> In VisualWorks, for example, a WeakArray is primed with an Object instance, and this gets collected every scavenge.
> So the WeakArray is notified. From this VW builds a notification system.
I guess this is how VisualWorks changes its cursor from a regular
pointer to the, sometimes dreadful, "GC" icon during garbage
collection.
Isn't it?
I think so :-)
Regards!
Esteban A. Maringolo
and to you, Esteban!