Skip to documentation
SLOP

alloc_phase.violation_site_capacity

Reference alloc_phase violation_site_capacity

Internal implementation documentation

Defined in alloc_phase.

Defines the fixed capacity of 16 distinct nonzero return addresses recorded by ObservingPhaseAllocator.

No direct callersNo direct callsalloc_phaseviolation site capacity
Static calls · unresolved targets: unknown · external targets: unknown.

Source

Source: lib/alloc/phase/src/allocator.zig:306

zig
/// Defines the fixed capacity of 16 distinct nonzero return addresses recorded/// by `ObservingPhaseAllocator`. Duplicate call sites do not consume additional/// slots, and zero addresses are ignored. When new distinct sites arrive after/// all 16 slots are full, the observing guard omits the new addresses while/// continuing to increment its violation counters. `SealedPhaseAllocator` does/// not record return addresses and allocates no site storage.pub const violation_site_capacity = 16;

Source: lib/alloc/phase/src/root.zig:185

zig
/// Defines the fixed capacity of 16 distinct nonzero return addresses recorded/// by `ObservingPhaseAllocator`. Duplicate call sites do not consume additional/// slots, and zero addresses are ignored. When new distinct sites arrive after/// all 16 slots are full, the observing guard omits the new addresses while/// continuing to increment its violation counters. `SealedPhaseAllocator` does/// not record return addresses and allocates no site storage.pub const violation_site_capacity = allocator.violation_site_capacity;

Audit

Definitions1
Public names1
Members0
Version26.7.0
Revisiondaab053ee433