首页> 外国专利> Efficient memory management in software caches

Efficient memory management in software caches

机译:软件缓存中的高效内存管理

摘要

The use of heap memory is optimized by extending a cache implementation with a CacheInterface base class. An instance of a ReferenceToCache is attached to the CacheInterface base class. The cache implementation is registered to a garbage collector application. The registration is stored as a reference list in a memory. In response to an unsatisfied cache allocation request, a garbage collection cycle is triggered to check heap occupancy. In response to exceeding a threshold value, the reference list is traversed for caches to be cleaned based upon a defined space constraint value. The caches are cleaned in accordance with the defined space constraint value.
机译:通过扩展具有CacheInterface基类的缓存实现,可以优化堆内存的使用。 ReferenceToCache的实例附加到CacheInterface基类。缓存实现已注册到垃圾收集器应用程序。该注册作为参考列表存储在存储器中。响应未满足的缓存分配请求,将触发垃圾回收周期以检查堆占用率。响应于超过阈值,遍历参考列表以基于定义的空间约束值来清理高速缓存。根据定义的空间约束值清除缓存。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号