1. A method comprising: receiving a requirement to load a new code object to a first storage medium; allocating an area of the first storage medium containing an old code object as a dynamic relocation region when there is insufficient space to load the new code object to the first storage medium; storing the old code object to a second storage medium; writing the new code object to the allocated dynamic relocation region; prior to executing a task associated with the loaded new code object: loading task control block information and stack information from the second storage medium when the new code object has been previously executed; and generating task control block information and stack information when the new code object has not been previously executed.