US 11,880,298 B2
Allocation of memory within a data type-specific memory heap
Filip J. Pizlo, Santa Cruz, CA (US)
Assigned to Apple Inc., Cupertino, CA (US)
Filed by Apple Inc., Cupertino, CA (US)
Filed on Nov. 17, 2021, as Appl. No. 17/529,225.
Application 17/529,225 is a division of application No. 16/380,380, filed on Apr. 10, 2019, granted, now 11,182,283.
Claims priority of provisional application 62/736,888, filed on Sep. 26, 2018.
Prior Publication US 2022/0075712 A1, Mar. 10, 2022
Int. Cl. G06F 12/02 (2006.01); G06F 12/0817 (2016.01)
CPC G06F 12/023 (2013.01) [G06F 12/082 (2013.01); G06F 12/0826 (2013.01); G06F 2212/70 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A non-transitory machine-readable medium comprising instructions that, when executed by one or more processors, cause the one or more processors to perform operations comprising:
receiving an instruction to dynamically deallocate memory for an object of a data type;
dynamically deallocating memory for the object in response to the instruction, the memory deallocated from a heap instance that is specific to the data type for the object, the heap instance including a memory allocator and memory deallocator that are specific to data type; and
releasing physical memory for multiple deallocated objects while retaining virtual memory addresses associated with the deallocated objects.