One embodiment of the present invention provides a system for predicting hot
spots in a cache memory. Upon receiving a memory operation at the cache, the system
determines a target location within the cache for the memory operation. Once the
target location is determined, the system increments a counter associated with
the target location. If the counter reaches a pre-determined threshold value, the
system generates a signal indicating that the target location is a hot spot in
the cache memory.