Patent ID: 8489840

Claim:
A method comprising: storing, by a processor, a plurality of objects in a memory of a computer system, said memory divided into a plurality of chunks, each of the plurality of objects having a set of properties, wherein said storing comprises storing the set of properties of at least one of the plurality of objects in discontiguous chunks of the plurality of chunks of memory, wherein the processor is allowed to independently access individual properties in the set of properties in the discontiguous chunks of the plurality of chunks of memory; managing, by the processor, each object of the plurality of objects as a single unit; maintaining, by the processor, an access count in an access counter for each object of the plurality of objects, the access count being indicative of a number of times each object of the plurality of objects has been accessed since last garbage collection; in response to the access count for an object of the plurality of objects not exceeding a threshold, continuing to maintain, by the processor, the access count in the access counter for the object; and in response to the access count for an object of the plurality of objects exceeding the threshold, transitioning to managing, by the processor, each property in the set of properties for the object independently and maintaining an individual property access count in a property access counter for each property in the set of properties for the object.