How Garbage Collector works?

Borneq borneq at antyspam.hidden.pl
Thu Aug 12 01:44:51 PDT 2010


Użytkownik "Nick Sabalausky" <a at a.a> napisał w wiadomości 
news:i40b9m$1ti5$1 at digitalmars.com...
> The GC keeps track of the starting address and the length of each 
> allocation.

How to deal with:
1.alloc 1000 bytes to pointer
2.increment pointer by 500 bytes
3.checking if block 1000 bytes is reachable but only pointer is in roots





More information about the Digitalmars-d mailing list