首页> 外国专利> Hardware-protected reference count-based memory management using weak references

Hardware-protected reference count-based memory management using weak references

机译:使用弱引用的基于硬件保护的基于引用计数的内存管理

摘要

A method for managing memory, comprising: maintaining a strong reference count for a first object; establishing a first reference from the first object to a second object; establishing a second reference from the second object to the first object, wherein the second reference is a weak reference that does not increase the strong reference count of the first object; detecting that the strong reference count of the first object has reached zero; in response to detecting that the strong reference count has reached zero, invoking a corresponding action.
机译:一种用于管理存储器的方法,包括:维持对第一对象的强参考计数;以及建立从第一对象到第二对象的第一参考;建立从第二对象到第一对象的第二参考,其中第二参考是不增加第一对象的强引用计数的弱引用;检测到第一个对象的强引用计数达到零;响应于检测到强参考计数已达到零,从而调用相应的操作。

著录项

  • 公开/公告号US9274948B1

    专利类型

  • 公开/公告日2016-03-01

    原文格式PDF

  • 申请/专利权人 DAVID R. CHERITON;

    申请/专利号US201414457046

  • 发明设计人 DAVID R. CHERITON;

    申请日2014-08-11

  • 分类号G06F17/30;G06F12/02;

  • 国家 US

  • 入库时间 2022-08-21 14:28:41

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号