Invention Grant
- Patent Title: Declarative pinning
- Patent Title (中): 声明钉扎
-
Application No.: US12464834Application Date: 2009-05-12
-
Publication No.: US07921143B2Publication Date: 2011-04-05
- Inventor: Patrick H. Dussud , Vance P. Morrison
- Applicant: Patrick H. Dussud , Vance P. Morrison
- Applicant Address: US WA Redmond
- Assignee: Microsoft Corporation
- Current Assignee: Microsoft Corporation
- Current Assignee Address: US WA Redmond
- Agency: Workman Nydegger
- Main IPC: G06F17/30
- IPC: G06F17/30 ; G06F17/00

Abstract:
A system and method is provided for efficiently pinning references to the managed heap. The system and method allow for references to managed objects to be declared as pinned during a call to unmanaged code. The references are then reported as pinned to a garbage collector in response to invocation of a garbage collection service. The reference can be declared as pinned by a programmer within the source code or automatically invoked at run-time based on an unsafe condition. The garbage collection service will not move or relocate objects that are referenced by the active pinned local variables. If a garbage collection does not occur, the fact that the local variables are declared pinned is ignored.
Public/Granted literature
- US20090222802A1 DECLARATIVE PINNING Public/Granted day:2009-09-03
Information query