Patent ID: 9740626
Date: 2017-08-22
CPC Classifications: G06F

Claim:
1. A method comprising: obtaining a current memory segment that begins at a current base address within a current address space, wherein the current memory segment comprises a directed object graph and a base pointer, wherein the base pointer comprises an original base address of an original memory segment of an original address space, wherein the directed object graph comprises a plurality of object pointers and a plurality of objects, wherein each object pointer of the plurality of object pointers resides in a source object of the plurality of objects, wherein each object pointer of the plurality of object pointers comprises a memory address of a target object, wherein the original address space contains the memory address of the target object; for each particular object of the plurality of objects, determining whether a different memory segment of the current address space contains an equivalent object that is equivalent to the particular object, wherein: when the different memory segment contains the equivalent object, for each object pointer of the plurality of object pointers having the particular object as the target object of the memory address of the object pointer, replacing the memory address of the object pointer with a memory address of the equivalent object; when the different memory segment does not contain an equivalent object, for each object pointer of the plurality of object pointers having the particular object as the target object of the memory address of the object pointer, incrementing the memory address of the object pointer by an amount that is a difference between the current base address and the original base address.