Patent ID: 8122068
Filing Date: 2012-02-21
Classification: G06F

Abstract:
1. A method, in a data processing system, of memory management in a scoped memory system of the data processing system having a one or more scoped memory areas, wherein each of the scoped memory areas is suitable for the allocation of objects therein for access by software threads, the method comprising: identifying, by a scoped memory garbage collector of the data processing system, a set of one or more child scoped memory areas of the scoped memory area for garbage collection; identifying, in each scoped memory area of the set, references to the scoped memory area for garbage collection as root references for objects allocated in the scoped memory area of the scoped memory system; generating a set of root references based on the identified references to the scoped memory area for garbage collection; recursively traversing and marking, by the scoped memory garbage collector, objects that are referenced from the set of root references and that are allocated in the scoped memory area of the scoped memory system; identifying, by the scoped memory garbage collector, objects in the scoped memory area of the scoped memory system that are not so marked; and discarding the identified objects from the scoped memory system.