How does implicit free lists (garbage collection) works in adding memory to free list ?
A. whichever comes last will be added to free list
B. whichever comes first will be added to free list
C. certain blocks cannot be used if there are no pointers to them and hence they can be freed
D. makes a probabilistic guess
Answer:C
How does implicit free lists (garbage collection) works in adding memory to free list ?
A. whichever comes last will be added to free list B. whichever comes first will be added to free list C. certain blocks cannot be used if there are no pointers to them and hence they can be freed D. makes a probabilistic guess