Skip to main content

GLOBAL_POOL

Static GLOBAL_POOL 

Source
static GLOBAL_POOL: OnceLock<Option<Pool>>
Expand description

Process-wide buffer pool shared by every spill consumer in the process.

Construction reserves virtual address space only: 1 TiB per chunk size class plus 1 TiB per extent-arena class, tens of TiB in total. Physical memory is paid per resident chunk. On the rare platforms or configurations where the reservation fails, the pool is permanently unavailable for this process and apply_pool_config reports that by returning false.