×

Method and apparatus for reducing heap size through adaptive object representation

  • US 6,728,852 B1
  • Filed: 06/30/2000
  • Issued: 04/27/2004
  • Est. Priority Date: 06/30/2000
  • Status: Active Grant
First Claim
Patent Images

1. A method for creating a compressed version of an object, the object being arranged to store a first representation of a set of data, the object being stored on a heap structure of an object-based computing system, the method comprising:

  • determining when the first representation of the set of data is suitable for compression;

    compressing the first representation of the set of data to form a second representation of the set of data when it is determined that the first representation of the set of data is suitable for compression;

    allocating a second portion of memory on the heap structure when it is determined that the first representation of the set of data is suitable for compression, wherein the second portion of memory is substantially smaller than a first portion of memory associated with the object; and

    writing the second representation of the set of data into the allocated second portion of memory.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×