摘要
本文面向三维引擎的上层内存管理,提出了一种基于垃圾回收算法的管理系统,辅助三维引擎使用者回收循环引用的内存.该系统基于由库的形式提供,并且不需要用户修改现有代码.用户只需要使用系统提供的接口创建对象,系统就能够在必要时自动回收内存.测试表明,本系统在可接受的开销下实现了循环引用内存的回收.
The system,based on garbage-collection algorithm,orients to help the three-dimensional graphics engine to reclaim memory.The system is provided by library,without any other adapted source or compiler.With the objects constructed from interfaces of the system,the system would manage the memory automatically.The tests indicate that the system regain the circular reference memory with the affordable performance overhead.
出处
《计算机系统应用》
2018年第3期95-98,共4页
Computer Systems & Applications
关键词
垃圾回收
三维引擎
循环引用
内存管理
标记-清除
garbage collection
three-dimensional (3D) graphics engine
circular reference
memory management
mark-and-sweep