US 12,292,828 B2
Dynamic memory management apparatus and method for allocating/deallocating dynamic memory using the same
Hong-Il Ju, Daejeon (KR); Dong-Wook Kang, Daejeon (KR); and Gae-Il An, Daejeon (KR)
Assigned to ELECTRONICS AND TELECOMMUNICATIONS RESEARCH INSTITUTE, Daejeon (KR)
Filed by ELECTRONICS AND TELECOMMUNICATIONS RESEARCH INSTITUTE, Daejeon (KR)
Filed on Jul. 10, 2023, as Appl. No. 18/349,673.
Claims priority of application No. 10-2022-0151420 (KR), filed on Nov. 14, 2022.
Prior Publication US 2024/0160565 A1, May 16, 2024
Int. Cl. G06F 12/02 (2006.01)
CPC G06F 12/0292 (2013.01) [G06F 2212/1052 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A dynamic memory management apparatus, comprising:
an actual memory configured to allocate or deallocate a heap;
a virtual memory configured to set and store heap allocation information at a virtual address mapped to an actual address that is a body start address of a heap area of the actual memory; and
a dynamic memory manager configured to process a memory allocation or deallocation request received from a program in conjunction with the actual memory and the virtual memory,
wherein the heap allocation information includes access authority information for storing information indicating whether a heap at an actual address is allocated or deallocated, and count information that is increased whenever a heap is allocated, and
wherein the dynamic memory manager is configured to:
return an address pointer including an actual address of a heap allocated to the actual memory and the heap allocation information to the program, and
process a heap deallocation or reallocation request based on the heap allocation information included in a requested address pointer.