Patent ID: 7882158
Filing Date: 2011-02-01
Classification: G06F,Y10S

Abstract:
1. A system for executing code in real-time, the system comprising: a compiler that compiles source code into an intermediate definition language and then into executable code for executing one or more programs, wherein the executable code includes both managed and unmanaged code including at least one call from the managed code to the unmanaged code that will pass one or more references to one or more objects on a memory heap, and wherein the one or more references to the one or more objects are declared as pinned in the source code, the compiler, upon determining that the one or more references to the one or more objects is declared as pinned, declaring the one or more references as pinned during compiling of the source code into the intermediate definition language; a processor that executes the executable code derived from the intermediate definition language, and during execution, creates objects on the memory heap that are referenced by references on a stack of the managed code, including the one or more objects on the memory heap that are referenced by the pinned references; and a memory management system that, during a garbage collection routine that executes during the execution of the executable code, identifies any references to objects on the memory heap, and based on the references to the objects: