LLVM: heap_t Struct Reference (original) (raw)

Public Attributes
uintptr_t owner_thread
Owning thread ID.
heap_size_class_t size_class [SIZE_CLASS_COUNT]
Free lists for each size class.
atomicptr_t span_free_deferred
List of deferred free spans (single linked list)
size_t full_span_count
Number of full spans.
span_t * span_reserve
Mapped but unused spans.
span_t * span_reserve_master
Master span for mapped but unused spans.
uint32_t spans_reserved
Number of mapped but unused spans.
atomic32_t child_count
Child count.
heap_t * next_heap
Next heap in id list.
heap_t * next_orphan
Next heap in orphan list.
int32_t id
Heap ID.
int finalize
Finalization state flag.
heap_t * master_heap
Master heap owning the memory pages.

Definition at line 666 of file rpmalloc.c.

child_count

atomic32_t heap_t::child_count

finalize

full_span_count

size_t heap_t::full_span_count

Number of full spans.

Definition at line 678 of file rpmalloc.c.

Referenced by _rpmalloc_aligned_allocate(), _rpmalloc_allocate_from_heap_fallback(), _rpmalloc_allocate_huge(), _rpmalloc_allocate_large(), _rpmalloc_deallocate_direct_small_or_medium(), _rpmalloc_deallocate_huge(), _rpmalloc_deallocate_large(), _rpmalloc_heap_cache_adopt_deferred(), _rpmalloc_heap_finalize(), _rpmalloc_heap_global_finalize(), and _rpmalloc_span_initialize_new().

id

master_heap

next_heap

next_orphan

owner_thread

uintptr_t heap_t::owner_thread

size_class

span_free_deferred

atomicptr_t heap_t::span_free_deferred

span_reserve

span_reserve_master

span_t* heap_t::span_reserve_master

spans_reserved


The documentation for this struct was generated from the following file: