Re: is there a way to know when a GC is happening?
Posted by
Esteban A. Maringolo on
Sep 10, 2020; 3:43am
URL: https://forum.world.st/is-there-a-way-to-know-when-a-GC-is-happening-tp5121531p5121556.html
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?
Regards!
Esteban A. Maringolo