Invention Grant
- Patent Title: Hardware-protected reference count-based memory management using weak references
- Patent Title (中): 使用弱引用的硬件保护引用计数的内存管理
-
Application No.: US14457046Application Date: 2014-08-11
-
Publication No.: US09274948B1Publication Date: 2016-03-01
- Inventor: David R. Cheriton
- Applicant: David R. Cheriton
- Applicant Address: US CA Palo Alto
- Assignee: David R. Cheriton
- Current Assignee: David R. Cheriton
- Current Assignee Address: US CA Palo Alto
- Agency: Van Pelt, Yi & James LLP
- Main IPC: G06F17/30
- IPC: G06F17/30 ; G06F12/02

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