Patent ID: 7269705

Claim:
A method for pre-allocating memory for object-based cache data, comprising: receiving an allocation request for an object having an associated property parameter that defines memory requirements for the object; locating in a table of allocation buckets a bucket having the associated property parameter that can at least meet the memory requirements for the object; identifying an object identifier (OID) in the bucket, the OID in the bucket having been previously allocated a physical memory address; assigning the OID to the object; storing the object in an object cache along with the assigned OID; removing the identified OID from the bucket once it has been assigned to the object, the removal signifying that the OID is in use; receiving a request to move a cache line of the object with the assigned OID from an object cache to main memory; reading the OID of the object mapping to the previously allocated physical memory address; and storing the object to the previously allocated physical memory address without causing new allocation of main memory.