Invention Grant
- Patent Title: Hardware-protected reference count-based memory management using weak references
- Patent Title (中): 使用弱引用的硬件保护引用计数的内存管理
-
Application No.: US12804900Application Date: 2010-07-29
-
Publication No.: US08838656B1Publication Date: 2014-09-16
- Inventor: David R. Cheriton
- Applicant: David R. Cheriton
- Applicant Address: US CA Menlo Park
- Assignee: Hiscamp Systems, Inc.
- Current Assignee: Hiscamp Systems, Inc.
- Current Assignee Address: US CA Menlo Park
- Agency: Van Pelt, Yi & James LLP
- Main IPC: G06F17/30
- IPC: G06F17/30

Abstract:
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.
Information query