首页>
外国专利>
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.
展开▼