Memory Management Flashcards
1
Q
Memory management is one of the functions of… BLANK … in an abstract machine
A
The interpreter!
2
Q
Static memory management is sufficient if your language does not support…
A
Dynamic memory allocation/deallocation nor recursive procedure calls!
3
Q
What are activation records, aka runtime stack of frames
A
A LIFO data structure, for each inline-block or procedure, entered, a frame is pushed on the stack. Upon exit, it is popped.
4
Q
The static chain
A
Pointer from one frame to the frame of the enclosing block
5
Q
The dynamic chain
A
Pointer from one frame to the last active frame in the activation records (the frame above)