1. A method for managing a cache memory for a multi-threaded processor, comprising the steps of: performing a cache lookup operation to the cache memory in response to an access to a data line by the multi-threaded processor; if a cache miss occurs, then selecting a replacement line in a partition of the cache memory which is allocated to a particular thread of a set of threads of the multi-threaded processor from which the access originated.