Chapter 6: Runtime System

Run Time Storage Management

. Run time allocation and de-allocation of activations occurs as part of procedure call and return sequences

. Assume four kind of statements

call, return, halt and action

To study the run-time storage management system it is sufficient to focus on the statements: action, call, return and halt, because they by themselves give us sufficient insight into the behavior shown by functions in calling each other and returning. And the run-time allocation and de-allocation of activations occur on the call of functions and when they return. There are mainly two kinds of run-time allocation systems: static allocation and stack allocation. While static allocation is used by the Fortran class of languages, stack allocation is used by the Ada class of languages.