Expand description
An allocator used to control the lifetime of allocations
Structs§
- Allocator
Diagnostic Plugin - A plugin which registers various allocator diagnostics
- AppReflect
Allocator - Wrapper around a
ReflectAllocatorwhich can be freely copied and shared between threads - Owning
Ptr - Pointer which owns the value it points to, and will deallocate it when dropped
- Reflect
Allocation - A boxed
PartialReflectvalue - Reflect
Allocation Id - Unique identifier for an allocation
- Reflect
Allocator - Allocator used to allocate and deallocate
dyn PartialReflectvalues Used to be able to ensure we have a “common root” for values allocated outside the world.
Constants§
- ALLOCATOR_
TOTAL_ COLLECTED_ DIAG_ PATH - The path used for the total number of deallocated allocations diagnostic
- ALLOCATOR_
TOTAL_ DIAG_ PATH - The path used for the total number of allocations diagnostic
Functions§
- garbage_
collector - Cleans up dangling script allocations
- measure_
allocations - Measures the number of allocations in the allocator and other diagnostics when enabled