Commit aeaf22a1 authored by Justin Lebar's avatar Justin Lebar Committed by TensorFlower Gardener
Browse files

Cosmetic BFCAllocator improvements.

- Dump a log of the allocator's internal state on allocation failure at
  vlog level 2 and above.

- When printing the allocator's chunks, print free chunks inline with
  occupied chunks.  This way fragmentation is easier to see.

- Add some GUARDED_BY annotations.

- Use a proper atomic for the "non-fatal OOM" log counter.

PiperOrigin-RevId: 181851550
parent b653f0a4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment