1. A method performed by a computing system having a processor, comprising: receiving, by the processor, a request to allocate a portion of a shared cache memory for storing only executable instructions, the shared cache memory including multiple cache lines for storing information within the shared cache memory, the shared cache memory shared between multiple processor cores, wherein one or more processor cores, of the multiple processor cores, are each associated with a first level cache memory; computing a total of sizes of one or more instruction caches in the first level cache memories associated with each of the one or more processor cores; partitioning the shared cache memory into multiple partitions, each partition having associated therewith one or more cache lines, wherein the cache lines associated with a particular partition are not associated with the other partitions; and allocating one of the partitions for storing only executable instructions, wherein the one or more cache lines associated with the allocated partition are utilized for storing only executable instructions, wherein a size of the allocated partition for storing only executable instructions is determined based on the computed total of sizes of the one or more instruction caches.