Patent ID: 7451275

Claim:
A method, comprising: configuring management of a region of a cache with an eviction policy plug-in and a storage plug-in selected amongst a plurality of available eviction policy plug-ins and storage policy plug-ins, said storage policy plug-ins including at least one shared storage policy plug-in and at least one non-shared storage policy plug-in, said eviction policy plug-in comprising code to identify an object for eviction, said object being cached in said region of cache, said storage plug-in having code to actually evict said object from said region of cache and execute the following functions with a virtual machine that is dedicated to a single CPU on which said virtual machine runs: an object manipulation function that gets a first object located within said region of cache; and an attribute manipulation function that gets a specific attribute for said first object from within said region of cache including computing a location of the specific attribute by combining the specific attribute, as a key within an attribute map, with a location of the object within said region of cache to obtain the location of the specific attribute within said region of cache as an offset from the location of the object.