LLVM 22.0.0git
global_cache_t Struct Reference

Public Attributes

atomic32_t lock
 Cache lock.
uint32_t count
 Cache count.
span_tspan [GLOBAL_CACHE_MULTIPLIER *MAX_THREAD_SPAN_CACHE]
 Cached spans.
span_toverflow
 Unlimited cache overflow.

Detailed Description

Definition at line 738 of file rpmalloc.c.

Member Data Documentation

◆ count

uint32_t global_cache_t::count

Cache count.

Definition at line 742 of file rpmalloc.c.

Referenced by rpmalloc_dump_statistics(), and rpmalloc_global_statistics().

◆ lock

atomic32_t global_cache_t::lock

Cache lock.

Definition at line 740 of file rpmalloc.c.

Referenced by rpmalloc_global_statistics().

◆ overflow

span_t* global_cache_t::overflow

Unlimited cache overflow.

Definition at line 752 of file rpmalloc.c.

Referenced by rpmalloc_dump_statistics(), and rpmalloc_global_statistics().

◆ span

Cached spans.

Definition at line 750 of file rpmalloc.c.


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