7. A system comprising: one or more computer processors configured to: receive a request to access a cache entry in a shared cache, the request referencing a synonym for the cache entry, a cache directory of the shared cache comprising, for each cache entry of the shared cache, a first-ranked synonym slot for storing a most recently used synonym for the cache entry and a second-ranked synonym slot for storing a second most recently used synonym for the cache entry; and based on receiving the request: write contents of the first-ranked synonym slot for the cache entry to the second-ranked synonym slot for the cache entry; and write the synonym referenced in the request to the first-ranked synonym slot for the cache entry.
7. A system comprising: one or more computer processors configured to: receive a request to access a cache entry in a shared cache, the request referencing a synonym for the cache entry, a cache directory of the shared cache comprising, for each cache entry of the shared cache, a first-ranked synonym slot for storing a most recently used synonym for the cache entry and a second-ranked synonym slot for storing a second most recently used synonym for the cache entry; and based on receiving the request: write contents of the first-ranked synonym slot for the cache entry to the second-ranked synonym slot for the cache entry; and write the synonym referenced in the request to the first-ranked synonym slot for the cache entry. 12. The system of claim 7 , the one or more processors further configured to: receive an other request for an other cache entry, wherein the other request references an other synonym; determine that the other synonym matches a synonym stored in the second-ranked synonym slot of the other cache entry; and swap the synonyms in the first-ranked synonym slot and the second-ranked synonym slot of the other cache entry, responsive to determining that the other synonym matches the synonym stored in the second-ranked synonym slot of the other cache entry.