Skip to content

Heap Initialization

Heap initialization is performed when the user first requests memory by executing malloc_consolidate followed by malloc_init_state. We will not go into excessive detail here. Please refer to the malloc_state related functions.