cache conflict

When accesses to memory repeatedly overwrite the same cache entry. This can happen if two blocks of data are mapped to the same set of cache locations. For example, if arrays A, B and C, each the same size as a direct mapped cache, are placed next to each other in memory, thrashing will occur when the following loop is executed:

	for (i=1; i<n; i++)
 		C[i] = A[i] + B[i];
Cache conflict can also occur between a program loop and the data it is accessing. See also ping-pong.