[comp.windows.news] Garbage collection

mwp@cs.mu.oz.au (Michael Paddon) (02/10/89)

Can anybody give a complete definition of how garbage collection
works in NeWS 1.1?

The manual indicates that whenever any process dies (I presume either
killed or terminated), all its stacks are garbage collected. Each
composite object has a ref count which tells NeWS when it is safe to
throw something away.

All quite straightforward, but...

Is it possible to garbage collect objects while a process is running?
Does "undef" cause immediate collection?

What happens to objects that have no references?
ie. if I have a process
        {(hello world) show} fork
is the space used by the string ever reclaimed? If so, when?

Any thing else that I need to know about garbage collection?

========================================================
| Michael Paddon (mwp@munnari.oz.au)                   |
| Department of Computer Science, Melbourne University |
========================================================