March 2019
Intermediate to advanced
336 pages
9h 9m
English
Reference counting is related to keeping the number of references, pointers, and handles to a resource such as an object, block of memory, or disk space. This technique is related to the number of references to de-allocated objects that are never referenced again.
The collection technique tracks, for each object, a tally of the number of references to the object. The references are held by other objects. The object gets removed when the number of references to the object is zero. The removed object becomes inaccessible. The removal of a reference can prompt countless connected references to be purged.
The algorithm is time-consuming because of the size of the object graph and slow access speed.
In the following ...
Read now
Unlock full access