Patent №
US 6,748,503
Granted
2004-06-08
Filed 2001
Owner
MICROSOFT CORPORATION
Lab
AI components
1
hardware
Assignment
Recorded
Dataset
AIPD
2023_r1 edition
Application
09894241
A system and method for facilitating unmanaged code participation in a memory management system employing a garbage collection system or service is provided. The invention provides for an unmanaged component to invoke a machine state capturing component that captures machine state (e.g., machine registers and stack pointer) into a machine state data structure and publishes the fact that the unmanaged component desires to participate in garbage collection pointer enumeration. The invention further provides for an unwind component to be invoked during garbage collection that determines register value(s) to facilitate participation in garbage collection pointer enumeration by the unmanaged component. As part of its participation in garbage collection, the unwind component can alter contents of the machine state data structure stored by the machine state capturing component. The invention further provides for an unmanaged component to invoke a machine state restoring component that restores the machine state (e.g., machine registers and stack pointer) saved by the machine state capturing component, which may have been altered by garbage collection, and to publish the fact that the unmanaged component no longer desires to participate in garbage collection pointer enumeration.
AI classification
Ownership
MICROSOFT CORPORATION
assignment · 119470575
Assignors
MORRISON, VANCE P.
On an employer assignment, the assignors are typically the inventors.