Expand description
Thread-local hot-path allocation counter. Parallel tests need no serial flag.
Structs§
- Harness
Lease - Harness lease handle. Not the product
LeaseTable. - Reservation
Tracker - Bounded reservation tracker: conservation, ownership, generation, peak bytes.
Functions§
- peek_
alloc - Peek without reset. Tests on other threads do not observe this value.
- record_
alloc - Record one hot-path heap touch on the calling thread.
- take_
alloc - Take and reset this thread’s hot-path allocation count.