1. A method of dynamically relocating code objects, the method comprising: upon receiving a requirement to load a new code object to a first storage medium, allocating a dynamic relocation region of the first storage medium; writing information related a task to be performed in relation to the dynamic relocation region to a second storage medium; selecting the new code object from a plurality of code objects stored in the second storage medium, and loading the selected new code object to the allocated dynamic relocation region; and generating information for performing a task associated with the loaded new code object.