A Dynamic Memory Allocation Method
An allocation method and dynamic memory technology, applied in the directions of memory address/allocation/relocation, energy-saving computing, climate sustainability, etc., can solve the problems of low memory allocation efficiency, huge execution files, and low operating efficiency, and achieve memory allocation. The effect of high efficiency and high management efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Embodiment Construction
[0022] The following specific embodiments further describe the present invention, but the present invention is not limited to the following specific embodiments.
[0023] A kind of dynamic memory allocation method, it comprises the following steps:
[0024] (1) Initialize the memory space, set the initial address of the memory, and divide each physical memory block into three parts, which are the first part, the second part and the third part, and each part contains an information node header and a memory block, and the size of the memory block of the first part and the third part of each physical memory block is 0K, and then the second part in all physical memory blocks is combined to form a free memory linked list, and the information node header includes Use status information, size information of the corresponding memory block, and a first pointer pointing to an address of a physical adjacent memory block, and a second pointer and a third pointer are also set in the memory...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More