最新更新
- C程序设计:现代方法
- C语言参考手册(原书第5版)
- 数据结构习题与解析(C语言篇)
- 用面向对象方法与C++语言描述
- C++Builder精彩编程实例集锦
- C语言实战105例源码
- Borland c++宝典
- 实用C++编程大全(Practical C++ Progranmming)
- Visual C/C++编程精选集锦-数据库及图形图像分册
- C和C++实务精选 C和指针 (PDG)
- c++ neural networks and fuzzy logic
- C++ Effective STL
- C++ GUI Programming with Qt 4, Second Edition
- Visual C/C++编程精选集锦-关键技术精解分册
- C/C++指针经验总结
下载排行
百度搜索
C/C++ 内存管理算法和实现 Memory Management Algorithms and Implementation in C/C++
- 软件评价:

- 是否推荐:否 相关评论
- 软件大小:5.5MB
- 运行环境:Win9x/NT/2000/XP/2003
- 软件语言:简体中文
- 软件授权:免费软件
- 收录/更新:2005-09-04/2005-09-04
- 下载次数:
- 标 签[?]:C/C++ 内存管理算法和实现 Memory Management Algorithms and Implementation in C/C++
- 预览图片: 暂无预览图
- 相关链接:暂无演示
- 联系作者:
-
软件简介:
- 上论坛找商业破解网站程序
- 源码使用如需帮助,请到论坛发帖!
This book is divided into six chapters. I will start from the ground up and try to provide a comprehensive, but detailed, view of memory management fundamentals. Because of this, each chapter builds on what has been presented in the previous one. Unless you are a memory management expert, the best way to read this book is straight through.
Chapter 1 - Memory Management Mechanisms
The first chapter presents a detailed look at the machinery that allows memory management to take place. Almost every operating system in production takes advantage of facilities that are provided by the native processor. This is done primarily for speed, since pushing repetitive bookkeeping down to the hardware benefits overall performance. There have been attempts by some engineers to track and protect memory strictly outside of the hardware. But speed is key to the hardware realm, and this fact always forces such attempts off of the playing field. The end result is that understanding how memory management is performed means taking a good look at how memory hardware functions.
Chapter 2 - Memory Management Policies
Computer hardware provides the mechanism for managing memory, but the policy decisions that control how this mechanism is applied are dictated by the operating system and its system call interface to user programs. In this chapter, the memory management components provided by the operating system are analyzed and dissected. This will necessarily involve taking a good, hard look at the internals of production operating systems like Linux and Windows.
In general, hardware always provides features that are ahead of the software that uses it. For example, Intel's Pentium provides four distinct layers of memory protection. Yet, I could not find a single operating system that took advantage of all four layers. All the systems that I examined use a vastly simplified two-layer scheme.
Note The relationship between hardware and software is analogous to the relationship between mathematics and engineering. Mathematics tends to be about 50 years ahead of engineering, which means that it usually takes about 50 years for people to find ways to apply the theorems and relationships that the mathematicians uncover.
Chapter 3 - High-Level Services
Above the hardware and the cocoon of code that is the operating system are the user applications. Because they are insulated from the inner workings of the operating system, applications have an entirely different way to request, use, and free memory. The manner in which a program utilizes memory is often dependent on the language in which the program was written. This chapter looks at memory management from the perspective of different programming languages. This chapter also serves as a launch pad for the next two chapters by presenting an overview of memory management at the application level.
Chapter 4 - Manual Memory Management
In Chapter 4, a number of manual memory management algorithms are presented in explicit detail. The algorithms are presented in theory, implemented in C++, and then critiqued in terms of their strengths and weaknesses. The chapter ends with suggestions for improvements and a look at certain hybrid approaches.
Chapter 5 - Automatic Memory Management
In Chapter 5, a number of automatic memory management algorithms are examined. The algorithms are presented in theory, implemented in C++, and then critiqued in terms of their strengths and weaknesses. A significant amount of effort is invested in making this discussion easy to follow and keeping the reader focused on key points. Two basic garbage collectors are provided and compared to other, more advanced collection schemes.
Chapter 6 - Miscellaneous Topics
This chapter covers a few special-purpose subjects that were difficult to fit into the previous five chapters. For example, I describe how to effectively implement a suballocator in a compiler. I also take a look at how memory management subsystems can be made to provide dynamic algorithm support at run time via a microkernel architecture.
Introduction
Chapter 1 - Memory Management Mechanisms
Chapter 2 - Memory Management Policies
Chapter 3 - High-Level Services
Chapter 4 - Manual Memory Management
Chapter 5 - Automatic Memory Management
Chapter 6 - Miscellaneous Topics
Index
List of Figures
List of Tables
List of Case Studies
List of Sidebars
加至站内收藏下载错误报告
下载地址:上海电信 苏州电信 (新窗口下载) 下载帮助
更多"C/C++ 内存管理算法和实现 Memory Management Algorithms and Implementation in C/C++"下载
下载地址:上海电信 苏州电信 (新窗口下载) 下载帮助
更多"C/C++ 内存管理算法和实现 Memory Management Algorithms and Implementation in C/C++"下载
投一票:




添加到百度搜藏





