首页 > 试题广场 >

Most systems allow programs to

[问答题]
Most systems allow programs to allocate more memory to its address space during execution. Data allocated in the heap segments of programs
is an example of such allocated memory. What is required to support dynamic memory allocation in the following schemes:
a. contiguous-memory allocation
b. pure segmentation
c. pure paging


推荐
• contiguous-memory allocation: might require relocation of the entire program since there is not enough space for the program to grow its allocated memory space.
• pure segmentation: might also require relocation of the segment that needs to be extended since there is not enough space for the segment to grow its allocated memory space.
• pure paging: incremental allocation of new pages is possible in this scheme without requiring relocation of the program's address space.
发表于 2018-03-23 22:07:18 回复(0)