首页 安全技术 系统安全     /    操作系统之动态分区分配

操作系统之动态分区分配

上传者: chengshijian2015 | 上传时间:2024/2/18 7:08:06 | 文件大小:18KB | 文件类型:rar
操作系统之动态分区分配
可变分区调度算法有:最先适应分配算法,最优适应分配算法,最坏适应算法。
用户提出内存空间的申请;
系统根据申请者的要求,按照一定的分配策略分析内存空间的使用情况,找出能满足请求的空闲区,分给申请者;
当程序执行完毕或主动归还内存资源时,系统要收回它所占用的内存空间或它归还的部分内存空间。
每当一个进程被创建时,内存分配程序首先要查找空闲内存分区表(链),从中寻找一个合适的空闲块进行划分,并修改空闲内存分区表(链)。
当进程运行完毕释放内存时,系统根据回收区的首址,从空闲区表(链)中找到相应的插入点,此时出现如下四种情况:1)回收区与插入点的前一个空闲分区F1相邻接,此时可将回收区直接与F1合并,并修改F1的大小;
2)回收区与插入点的后一个空闲分区F2相邻接,此时可将回收区直接与F2合并,并用回收区的首址最为新空闲区的首址,大小为二者之和;
3)回收区同时与插入点的前、后两个空闲分区邻接,此时需将三者合并;
4)回收区不与任何一个空闲区邻接,此时应建一新的表项。
本软件ID:10215534

文件下载

资源详情

[{"title":"(19个子文件18KB)操作系统之动态分区分配","children":[{"title":"dynamicPartallocate","children":[{"title":".project <span style='color:#111;'>395B</span>","children":null,"spread":false},{"title":"bin","children":[{"title":"com","children":[{"title":"chengshijian","children":[{"title":"operatesystem","children":[{"title":"DynamicPartAllocatePresenter$1.class <span style='color:#111;'>1.30KB</span>","children":null,"spread":false},{"title":"OnExecuteLisenter.class <span style='color:#111;'>439B</span>","children":null,"spread":false},{"title":"DynamicPartAllocatePresenter.class <span style='color:#111;'>5.61KB</span>","children":null,"spread":false},{"title":"PartBlock.class <span style='color:#111;'>1.89KB</span>","children":null,"spread":false},{"title":"DynamicPartAllocate$1.class <span style='color:#111;'>4.26KB</span>","children":null,"spread":false},{"title":"DynamicPartAllocate.class <span style='color:#111;'>1.16KB</span>","children":null,"spread":false},{"title":"DynamicPartAllocatePresenter$3.class <span style='color:#111;'>1.30KB</span>","children":null,"spread":false},{"title":"Job.class <span style='color:#111;'>686B</span>","children":null,"spread":false},{"title":"Partition.class <span style='color:#111;'>1.49KB</span>","children":null,"spread":false},{"title":"DynamicPartAllocatePresenter$2.class <span style='color:#111;'>1.30KB</span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'>598B</span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"chengshijian","children":[{"title":"operatesystem","children":[{"title":"Job.java <span style='color:#111;'>492B</span>","children":null,"spread":false},{"title":"DynamicPartAllocate.java <span style='color:#111;'>4.84KB</span>","children":null,"spread":false},{"title":"OnExecuteLisenter.java <span style='color:#111;'>623B</span>","children":null,"spread":false},{"title":"PartBlock.java <span style='color:#111;'>1.68KB</span>","children":null,"spread":false},{"title":"Partition.java <span style='color:#111;'>1010B</span>","children":null,"spread":false},{"title":"DynamicPartAllocatePresenter.java <span style='color:#111;'>9.51KB</span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".classpath <span style='color:#111;'>301B</span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明