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.
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
| Definitions | 1 |
|---|---|
| Public names | 1 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |