Patent ID: 6820101
Filing Date: 2004-11-16
Classification: G06F,Y10S

Abstract:
A method of executing a set of source code instructions to enable memory associated with objects not referenced external to the executed set of source code instructions to be reclaimed upon completion of execution of the executed set of source code instructions, comprising:obtaining a data structure storing one or more addresses of one or more of the set of source code instructions that creates one or more local objects, the one or more local objects being created during execution of the set of source code instructions and are not referenced outside the set of source code instructions; obtaining a next source code instruction from the set of source code instructions; determining whether an address of the next source code instruction is in the data structure; when the address of the next source code instruction is in the data structure including one or more addresses of one or more of the set of source code instructions that creates one or more local objects upon execution of the one or more of the set of source code instructions, creating a local object on a local heap of memory using the next_source code instruction associated with the address of the next source code instruction such that local objects are stored in memory separately from non-local objects; and when the address of the next source code is not in the data structure including one or more addresses of one or more of the set of source code instructions that creates one or more local objects, creating a non-local object on a non-local heap of memory using the next source code associated with the address of the next source code such that non-local objects are stored in memory separately from local objects.