|Re: Garbage Collection firstname.lastname@example.org (1992-08-11)|
|Re: Garbage Collection email@example.com (1992-08-12)|
|GC for C firstname.lastname@example.org.OZ.AU (1992-08-16)|
|From:||email@example.com.OZ.AU (John MAX Skaller)|
|Organization:||MAXTAL P/L C/- University Computing Centre, Sydney|
|Date:||Sun, 16 Aug 1992 23:33:06 GMT|
|Keywords:||storage, GC, C|
As I understand it, a conservative garbage collector works
by checking the stack for any pointer like words, and assuming
these root collectable objects.
What happens in a system like Windows when the user gives away
the object addresses to the operating system, so for most
objects there are no roots on the stack, because the stack
is empty most of the time?
[The object pointer is stored in Window memory, owned by the OS,
by the object is on the heap as usual.]
Wouldn't this mean GC would have to be carried out at the OS level?
JOHN (MAX) SKALLER, firstname.lastname@example.org
Maxtal Pty Ltd, 6 MacKay St ASHFIELD, NSW 2131, AUSTRALIA
[Either the OS has to do the GC, or else there has to be some way for the
user level GC to see the OS's pointers into its address space. -John]
Return to the
Search the comp.compilers archives again.