1. A method comprising: in response to a request for an allocation of memory via a programming interface, determining which of one or more heaps to allocate memory from for the request; wherein the determining is 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; and wherein the selecting is based at least in part on an address associated with the information.