Invention Application
- Patent Title: MEMORY MANAGEMENT METHOD AND APPARATUS
-
Application No.: US17483953Application Date: 2021-09-24
-
Publication No.: US20220012085A1Publication Date: 2022-01-13
- Inventor: Hui SHI , Yang DING , Kui ZHANG , Chengyuan WANG , Chao WANG
- Applicant: HUAWEI TECHNOLOGIES CO., LTD.
- Applicant Address: CN Shenzhen
- Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee Address: CN Shenzhen
- Priority: CN201910229665.2 20190325
- Main IPC: G06F9/455
- IPC: G06F9/455 ; G06F9/50 ; G06F12/02

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.
Public/Granted literature
- US12159154B2 Memory management method and apparatus Public/Granted day:2024-12-03
Information query