What is Dynamic loading

Explain what do you mean by the term Dynamic loading?




With Dynamic loading, a routine is loaded whenever it is called. All routines are placed over the disk in the re-locatable load format. The major program is loaded into the memory and is executed. Whenever a routine required to call another routine, calling routine first checks to see if the other routine has been loaded. If not, the re-locatable linking loader is called to load the desired routine into the memory and to update the program's address tables to reflect this change. Then, Control is passed to the newly loaded routine.

   Related Questions in Operating System