Memory allocation method
A memory allocation and memory technology, applied in the field of computer science, can solve the problems of unable to allocate memory in a specified area and easily generate fragments, so as to avoid the generation of memory fragments and achieve the effect of allocation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0031] The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.
[0032] Such as figure 1 As shown, a flow chart of a memory allocation method in an embodiment of the present invention includes allocation and recovery of memory, specifically including:
[0033] Step S101, obtaining memory information, that is, dividing the managed memory into memory blocks of a fixed size, and building a line segment tree for the memory. The leaf nodes of the line segment tree correspond to the fixed-size memory block. Starting from the memory start bit, an internal node is sequentially created with every two adjacent leaf nodes as child nodes, and an upper node is created with two adjacent internal nodes as child nodes. A layer of internal nodes, recu...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com