摘要 |
Methods for shared memory reclamation and local reuse and their combination, and methods for transforming function definitions in an object-oriented programming environment such that said shared memory reclamation and local reuse methods are implemented in source code and require no additional memory or CPU resources at run time. Each method causes a subtype field to be attached to every object, thus enabling decisions as to whether the memory referenced by an object can be deallocated or reallocated. The subtype field further supports the elimination of trivial deep copies and the implementation of value semantics.
|