Invention Grant
- Patent Title: Dynamic memory allocation methods and systems
-
Application No.: US17452833Application Date: 2021-10-29
-
Publication No.: US11886332B2Publication Date: 2024-01-30
- Inventor: Hector Marco Gisbert , Jose Ismael Ripoll Ripoll
- Applicant: University of the West of Scotland , Universitat Politecnica de Valencia
- Applicant Address: GB Paisley
- Assignee: UNIVERSITAT POLITECNICA DE VALENCIA,CYBER INTELLIGENCE S.L.
- Current Assignee: UNIVERSITAT POLITECNICA DE VALENCIA,CYBER INTELLIGENCE S.L.
- Current Assignee Address: ES Valencia; ES Valencia
- Agency: Alston & Bird LLP
- Main IPC: G06F12/02
- IPC: G06F12/02 ; G06F3/06 ; G06F8/41

Abstract:
In a dynamic memory allocator, a method of allocating memory to a process, the method comprising executing on a processor the steps of: creating one or more arenas within the memory, each arena comprising one or more memory blocks and each arena having an n-byte aligned arena address; upon receiving a memory request from the process, returning a pointer to the process, the pointer having as its value an address of a memory block selected from one of the arenas; upon determining that the memory block is no longer needed by the process, retrieving the address of said memory block from the pointer and releasing the memory block; and, upon a new arena being created, shifting forward the n-byte aligned address of said new arena according to a stored variable such that each memory block of said new arena is also shifted by the stored variable, the stored variable having n bytes and the stored variable having a random value.
Public/Granted literature
- US20220137841A1 DYNAMIC MEMORY ALLOCATION METHODS AND SYSTEMS Public/Granted day:2022-05-05
Information query