1. A method of updating a cache shared between two or more processing threads of a multi-threaded processor, the method comprising: receiving an address for a cache entry associated with a processing thread of the two or more processing threads to be allocated in the cache; determining attributes associated with the address; setting a configuration register corresponding to the processing thread with cache allocation information based on the attributes, wherein two or more configuration registers comprise cache allocation information related to the two or more processing threads respectively; determining a default cache partition between a main portion and an auxiliary portion, based on a partitioning register; determining from the configuration register corresponding to the processing thread, a mode in which the default cache partition will be ignored; and allocating the cache entry in the cache based on the configuration register for the processing thread, while ignoring the default cache partition.