- 0
- 0
- 约2.2万字
- 约 68页
- 2018-02-26 发布于江苏
- 举报
【计算机】CH09_MEMORY MANAGEMENT
Chap 9 Memory Management 存储管理 内容 Background(背景) Logical versus Physical Address Space(逻辑与物理地址空间) Swapping (交换) Contiguous Allocation(连续分配) Paging(分页) Segmentation(分段) Segmentation with Paging(段页式) Comparing different memory-management strategies(各种内存管理方案的比较 ) Summary(总结) Background 背景 Program must be brought into memory and placed within a process for it to be executed.(程序必需放入一个进程,并且送入内存才能被执行) Input queue – collection of processes on the disk that are waiting to be brought into memory for execution.(输入队列— 磁盘上等待进入内存并执行的进程的集合) User programs go through several steps before being executed. (用户程序在执行之前必需经历很多步骤) Binding of Instructions and Data to Memory指令和数据连接到内存 Compile time(编译时期): If memory location known a priori, absolute code can be generated; must recompile code if starting location changes.(如果内存位置已知,可生成绝对代码;如果开始位置改变,需要重新编译代码) Load time(装入时期): Must generate relocatable code if memory location is not known at compile time.(如果存储位置在编译时不知道,则必须生成可重定位代码) Execution time(执行时期): Binding delayed until run time if the process can be moved during its execution from one memory segment to another. Need hardware support for address maps (e.g., base and limit registers). (如果进程在执行时可以在内存中移动,则地址绑定要延迟到运行时。需要硬件对地址映射的支持,例如基址和限长寄存器) Three stages of address binding地址连接的三个阶段 Dynamic Loading 动态装入 Routine is not loaded until it is called.(例程在调用之前并不执行) Better memory-space utilization; unused routine is never loaded.(更好的内存空间利用率;没有被使用的例程不被载入。) Useful when large amounts of code are needed to handle infrequently occurring cases.(当需要大量的代码来处理不经常发生的事情时是非常有用的。) No special support from the operating system is required implemented through program design.(不需要操作系统的特别支持,通过程序设计实现) Dynamic Linking 动态链接 Linking postponed until execution time.(链接被推迟到执行时期) Small piece of code, stub, used to locate the appropriate memory-resident library routine.(小的代码片 - 存根,用来定位合适的保留在内存中的库程序。) Stub replaces itself with the address of the routine, and executes the routine.(存根用例程地址来替换自己,以及执行例程。) Operating system need
您可能关注的文档
- 【doc】团体健康险直付理赔服务模式初探.doc
- 【PPT】-中国人寿保险公司健康险话术专题(48页)-保险话术.ppt
- 【安邦】车险人伤理赔实务手册.doc
- 【全国百强校首发】黑龙江省哈尔滨市第三中学2016届高三上学期第二次检测数学(文)试题.docx
- 【大学信息技术导论】10 信息化与信息技术.ppt
- 【全国百强校首发】黑龙江省哈尔滨市第三中学2016届高三上学期第二次检测数学(理)试题.docx
- 【广发金工】成交量缩减,波动率C_P创新低-ETF期权每周跟踪(20150720-20150724).docx
- 【广发金工】标的下跌 波动率回升,Put价值凸显-ETF期权每周跟踪(20150727-20150731).docx
- 【广发金工】标的巨震引爆单日成交量-ETF期权每周跟踪(20150601-20150605).docx
- 【最新资料】水轮机调节复习资料.doc
- 2025-2026学年天津市和平区高三(上)期末数学试卷(含解析).pdf
- 2025-2026学年云南省楚雄州高三(上)期末数学试卷(含答案).pdf
- 2025-2026学年甘肃省天水市张家川实验中学高三(上)期末数学试卷(含答案).docx
- 2025-2026学年福建省厦门市松柏中学高二(上)期末数学试卷(含答案).docx
- 2025-2026学年广西钦州市高一(上)期末物理试卷(含答案).docx
- 2025-2026学年河北省邯郸市临漳县九年级(上)期末化学试卷(含答案).docx
- 2025-2026学年河北省石家庄二十三中七年级(上)期末历史试卷(含答案).docx
- 2025-2026学年海南省五指山市九年级(上)期末化学试卷(含答案).docx
- 2025-2026学年河北省唐山市玉田县九年级(上)期末化学试卷(含答案).docx
- 2025-2026学年河北省邢台市市区九年级(上)期末化学试卷(含答案).docx
原创力文档

文档评论(0)