SYSTEM AND METHOD FACILITATING UNMANAGED CODE PARTICIPATION IN GARBAGE COLLECTION

Patent №

US 6,748,503

Granted

2004-06-08

Filed 2001

Owner

MICROSOFT CORPORATION

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 hardwareG06F 12/0253Y10S 707/99953Y10S 707/99957

AI classification

AI hardware0.98
Knowledge representation0.01
Natural language0.00
Vision0.00
Speech0.00
Planning0.00
Machine learning0.00
Evolutionary computation0.00

Ownership

MICROSOFT CORPORATION

assignment · 119470575

Assignors

MORRISON, VANCE P.

On an employer assignment, the assignors are typically the inventors.

© 2026 NYSGPT2525 LLC