1. A method comprising: in response to a request for an allocation of memory via a programming interface, determining which of a plurality of heaps to allocate memory from for the request; wherein the determining responsive to one or more parameters provided to the programming interface, the parameters indicating one of a plurality of cache eviction policies to select when filling one or more cache lines with information from all or any portions of the allocated memory; wherein the selecting is based at least in part on an address associated with the information; and wherein the one or more parameters are cache eviction policy parameters and the determining is further responsive to one or more address modification parameters indicating one of a plurality of address modification polices to use in at least some circumstances when accessing information from all or any portions of the allocated memory.