Invention Grant
- Patent Title: Techniques to manage a collection of objects in heterogeneous environments
- Patent Title (中): 管理异构环境中对象集合的技术
-
Application No.: US13069539Application Date: 2011-03-23
-
Publication No.: US08417744B2Publication Date: 2013-04-09
- Inventor: Gustavo Plancarte
- Applicant: Gustavo Plancarte
- Applicant Address: US WA Redmond
- Assignee: Microsoft Corporation
- Current Assignee: Microsoft Corporation
- Current Assignee Address: US WA Redmond
- Main IPC: G06F12/00
- IPC: G06F12/00 ; G06F17/30

Abstract:
Techniques to perform garbage collection in an environment where more than one software programming language is in use are described. A technique may include creating a managed proxy object in one language that creates an unmanaged object in memory in a different language. A collection of nodes is generated and maintained, where a node comprises: a reference to the managed proxy object, and a reference to the unmanaged object. A count of the nodes in the collection is maintained. When the count exceeds a threshold, the collection is traversed, and garbage collection is performed on any unmanaged object in a node when the managed proxy object in the same node has been collected. Other embodiments are described and claimed.
Public/Granted literature
- US20120246433A1 TECHNIQUES TO MANAGE A COLLECTION OF OBJECTS IN HETEROGENEOUS ENVIRONMENTS Public/Granted day:2012-09-27
Information query