Invention Grant
- Patent Title: Efficient pointer swizzling for persistent objects
-
Application No.: US15192946Application Date: 2016-06-24
-
Publication No.: US10198352B2Publication Date: 2019-02-05
- Inventor: Pratap Subrahmanyam , Zongwei Zhou , Rajesh Venkatasubramanian
- Applicant: VMware, Inc.
- Applicant Address: US CA Palo Alto
- Assignee: VMWARE, INC.
- Current Assignee: VMWARE, INC.
- Current Assignee Address: US CA Palo Alto
- Main IPC: G06F12/06
- IPC: G06F12/06

Abstract:
Techniques for efficiently swizzling pointers in persistent objects are provided. In one embodiment, a computer system can allocate slabs in a persistent heap, where the persistent heap resides on a byte-addressable persistent memory of the system, and where each slab is a continuous memory segment of the persistent heap that is configured to store instances of an object type used by an application. The system can further store associations between the slabs and their respective object types, and information indicating the locations of pointers in each object type. At the time of a system restart or crash recovery, the system can iterate through each slab and determine, based on the stored associations, the slab's object type. The system can then scan though the allocated objects in the slab and, if the system determines that the object includes any pointers based on the stored pointer location information, can swizzle each pointer.
Public/Granted literature
- US20170344475A1 EFFICIENT POINTER SWIZZLING FOR PERSISTENT OBJECTS Public/Granted day:2017-11-30
Information query