Invention Grant
- Patent Title: Memory pinning through buffer encapsulation
- Patent Title (中): 内存通过缓冲封装进行封锁
-
Application No.: US13312822Application Date: 2011-12-06
-
Publication No.: US08769229B2Publication Date: 2014-07-01
- Inventor: Gregory Paperin , Eric L. Eilebrecht , Ladislav Prosek
- Applicant: Gregory Paperin , Eric L. Eilebrecht , Ladislav Prosek
- Applicant Address: US WA Redmond
- Assignee: Microsoft Corporation
- Current Assignee: Microsoft Corporation
- Current Assignee Address: US WA Redmond
- Agent Kevin Sullivan; Brian Haslam; Micky Minhas
- Main IPC: G06F12/02
- IPC: G06F12/02 ; G06F12/14

Abstract:
The present invention extends to methods, systems, and computer program products for memory pinning through buffer encapsulation. Within a managed execution environment, a wrapper object encapsulates a memory buffer that is to be shared with a native routine executing in a native execution environment. The wrapper object manages operation of a memory manager on a memory heap corresponding to the memory buffer. The wrapper object includes a first function which sets a pin on the memory buffer and returns a pointer identifying the memory buffer. Setting the pin causes the memory manager to cease moving the memory buffer within the memory heap. The wrapper object also includes a second function which releases the pin on the memory buffer.
Public/Granted literature
- US20130145113A1 MEMORY PINNING THROUGH BUFFER ENCAPSULATION Public/Granted day:2013-06-06
Information query