Heap memory management method and device, equipment and medium

A memory management and memory technology, applied in the storage field, can solve the problems of low efficiency of heap memory application and release

Active Publication Date: 2021-08-24
SHANDONG YUNHAI GUOCHUANG CLOUD COMPUTING EQUIP IND INNOVATION CENT CO LTD
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although the heap memory has the above advantages, there are also the following problems, that is, the inherent shortcomings of the heap itself, that is, the efficiency of heap memory application and release itself is low

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Heap memory management method and device, equipment and medium
  • Heap memory management method and device, equipment and medium
  • Heap memory management method and device, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0056] At present, there are generally two memory allocation methods in software systems: stack and heap. Among them, the stack has the advantages of fast, safe and predictable, but its size is often limited by the compiler, and its memory utilization and flexibility are poor. The heap has the advantages of unlimited size, flexible use, and high utilization of memory resources. Although the heap memory has the above advantages, there are also the following problems, that is, the in...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a heap memory management method and device, equipment and a medium. The method comprises the steps of obtaining a heap memory application request triggered by a user; allocating a corresponding heap memory for the heap memory application request, and constructing a linked list header of an idle linked list, wherein the idle linked list is a double linked list; mapping a corresponding kernel mode memory for the heap memory, configuring an access attribute of the kernel mode memory so as to take the kernel mode memory as a hardware consistency memory, and binding a kernel virtual address of the kernel mode memory to a hardware equipment driver; when a memory block application request of a memory block in the application heap memory is obtained, searching whether control information of a target memory block matched with the memory block application request exists in an idle linked list or not; if yes, returning address information of the target memory block, and deleting control information of the target memory block in the idle linked list. Therefore, the application and release efficiency of the heap memory can be improved, and the performance of the system is improved.

Description

technical field [0001] The present application relates to the field of storage technologies, and in particular to a heap memory management method, device, device, and medium. Background technique [0002] There are generally two memory allocation methods in software systems: stack and heap. Among them, the stack has the advantages of fast, safe and predictable, but its size is often limited by the compiler, and its memory utilization and flexibility are poor. The heap has the advantages of unlimited size, flexible use, and high utilization of memory resources. Although the heap memory has the above advantages, there are also the following problems, that is, the inherent disadvantages of the heap itself, that is, the efficiency of heap memory application and release itself is low. Contents of the invention [0003] In view of this, the purpose of the present application is to provide a heap memory management method, device, equipment, and medium, which can improve the app...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F3/06G06F9/50
CPCG06F3/0631G06F3/064G06F3/0644G06F3/0652G06F3/0665G06F9/5016G06F9/5022
Inventor 冯唐智吴睿振崔健余洪斌
Owner SHANDONG YUNHAI GUOCHUANG CLOUD COMPUTING EQUIP IND INNOVATION CENT CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products