Static and Stack-Based Storage management

STATIC AND STACK-BASED STORAGE MANAGEMENT


Static management: Allocation during translation that remains fixed throughout execution.
  • Does not allow recursive subprograms.
  • Simplest
  • static allocation
  • no run-time storage management
  • no concern for recovery and reuse
  • efficient
  • in COBOL and FORTRAN
Stack-based storage management: Simplest run-time storage management technique.
  • Based on the nested last in first out structure in subprograms calls and returns.
  • Automatic compaction.
  • In Pascal : a single central stack of activation records, and a statically allocated area for subprogram code segments and system programs.

LEAVE A REPLY










Related topics

Please use contact page in this website if you find anything incorrect or you want to share more information about the topic discussed above.