×

Reuse of dynamically allocated memory

  • US 9,069,477 B1
  • Filed: 06/16/2011
  • Issued: 06/30/2015
  • Est. Priority Date: 06/16/2011
  • Status: Active Grant
First Claim
Patent Images

1. A computer-readable storage media storing instructions that, when executed, instruct a processor to perform acts comprising:

  • associating a first virtual memory address pointer to a first memory page of a random access memory (RAM) and a second virtual memory address pointer to a second memory page of the RAM;

    identifying one or more flagged memory pages of a plurality of memory pages, the one or more flagged memory pages associated with a flag that indicates that the corresponding page has been modified within a pre-determined interval of time;

    identifying a plurality of target memory pages of the plurality of memory pages, the target memory pages excluding the one or more flagged memory pages and including at least the first memory page and the second memory page;

    scanning the plurality of target memory pages for memory pages deemed to have identical contents;

    identifying, based at least in part on the scanning, that the first memory page and the second memory page have contents that are deemed to be identical to one another;

    designating the first memory page as a primary page;

    designating the second memory page as a duplicate page; and

    updating the second virtual memory address pointer referring to the second memory page to refer to the first memory page.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×