The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.

The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.

Date of Patent:
Dec. 03, 2024

Filed:

Sep. 24, 2021
Applicant:

Huawei Technologies Co., Ltd., Guangdong, CN;

Inventors:

Hui Shi, Shenzhen, CN;

Yang Ding, Shenzhen, CN;

Kui Zhang, Wuhan, CN;

Chengyuan Wang, Shenzhen, CN;

Chao Wang, Shenzhen, CN;

Assignee:
Attorney:
Primary Examiner:
Int. Cl.
CPC ...
G06F 9/455 (2018.01); G06F 9/50 (2006.01); G06F 12/02 (2006.01);
U.S. Cl.
CPC ...
G06F 9/45558 (2013.01); G06F 9/5016 (2013.01); G06F 9/5022 (2013.01); G06F 12/0238 (2013.01); G06F 12/0253 (2013.01); G06F 2009/45583 (2013.01);
Abstract

The technology of this application relates to a memory management method and apparatus. When garbage collection is performed by using the method, stored information about a first reference cycle is first obtained, where the first reference cycle is a cyclic reference formed by a plurality of objects, and the information about the first reference cycle includes the plurality of objects in the first reference cycle and a reference relationship between the plurality of objects. The method further includes determining that a second reference cycle exists, where information about the second reference cycle matches the information about the first reference cycle, and the information about the second reference cycle includes a plurality of objects in the second reference cycle and a reference relationship between the plurality of objects. The method further includes reclaiming memory occupied by the plurality of objects in the second reference cycle.


Find Patent Forward Citations

Loading…