摘要 |
A method and apparatus to perform memory management in an object oriented programming environment. Specifically, a first object, an associated count object and a first reference pointer to the first object are created. The count object includes a reference counter that is incremented when the first reference pointer to the first object is copied. Alternatively, a first object and an associated pointer list are created. Each entry in the pointer list includes a pointer to a previous pointer list entry and a pointer to a next pointer list entry.
|