Memory management method and device, storage medium and electronic equipment
The invention provides a memory management method and device, a storage medium and electronic equipment, and relates to the technical field of computers. The memory management method comprises the steps: when a new object is stored in a first area of a memory, inserting information of the new object...
Saved in:
Main Authors | , , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
12.01.2021
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention provides a memory management method and device, a storage medium and electronic equipment, and relates to the technical field of computers. The memory management method comprises the steps: when a new object is stored in a first area of a memory, inserting information of the new object into a first queue in multiple queues; if any one of the plurality of queues overflows, taking outthe head information of any one of the queues; when the object to which the head information belongs is in a survival state, inserting the head information into the next queue of the any queue; and when the object to which the head information belongs is in a non-survival state, recovering the memory occupied by the object to which the head information belongs from the first region. According to the method and device, the opportunity of object survival state detection is optimized, all objects do not need to be traversed when the memory is recovered, the use efficiency of the memory is improved, the system performance |
---|---|
Bibliography: | Application Number: CN202011079926 |