1. A method comprising: making a first determination, based on first feedback generated during execution of a program, the first determination to indicate whether the size of a compiled code cache should be modified; making a second determination, based on second feedback generated during execution of the program, the second determination to indicate whether the size of a heap should be modified; and modifying a shared storage region based on the first determination and the second determination.