一种内存管理设计模式  

A Memory Management Design Pattern

在线阅读下载全文

作  者:许冬海[1] 黄明和[1] 许生模[1] 

机构地区:[1]江西师范大学,江西南昌330022

出  处:《计算机技术与发展》2008年第9期72-75,共4页Computer Technology and Development

基  金:国家自然科学基金(60363002);教育部科技重点项目(206078)

摘  要:主要阐述一种内存管理器的设计模式,包括内存管理器的创建,在内存管理器中创建一对象,释放一对象,查找一对象,在实际设计中利用这种设计模式,可以方便构建自己的内存管理器,同时也能提高整个应用程序的运行效率,屏蔽底层操作系统的内存管理差异。采用本设计模式创建的内存管理器已经在一平台无关的动画播放器库函数中使用,播放器中的一些常用图片,如图标等皆放置管理器中。播放器移植时无需改动播放器本身代码,只需利用本设计模式重新实现本内存管理器。在同一款手机上测试时发现,用本内存管理器能部分提高性能。本模式同样可以应用到整个系统中框架中,它可以有效减少系统设计的复杂度和提高整个系统的效率。Mainly discuss a mcmory management design pattern, including creating the memory management, memory management create an object, release an object and search an object. In development using the design pattern that can,, facilitate the creation for the memory management, can enhance the application efficiency, arid it also can shield the difference between operating system memory management. A memory managcment designed with this thcory is applied in a mobile animation player. Icons, pictures in the player are cached in the memory management. Through experiments found the player's performance has some improvements. The design pattern also can apply to framework in mobile or PDA systcm

关 键 词:Hash散列 设计模式 共享内存 

分 类 号:TP311.5[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象