Patent Number: 6,253,215

Title: Method, apparatus, and article of manufacture for facilitating resource management for applications having two types of program code

Abstract: Methods, systems, and articles of manufacture consistent with the present invention provide a program component including a set of instructions native to the system, include in the set of native instructions an instruction to maintain information on use of a particular object, and permit reuse of memory resources corresponding to the particular object based on an indication from a source that the particular object is no longer being used, the source being different from any source used to provide information on use of objects associated with non-native instructions of the program component. Additionally, garbage collection is not permitted during native code operations to read or write data in object fields because during such operations an indication exists that such collection may be inaccurate and could possibly reclaim or relocate objects referenced by native code though not specified as such in the native code stack and global variables.

Inventors: Agesen; Ole (Franklin, MA), Detlefs; David L. (Westford, MA), White; Derek R. (Reading, MA)

Assignee: Sun Microsystems

International Classification: G06F 12/02 (20060101); G06F 017/30 ()

Expiration Date: 06/26/2018