mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-07 07:04:09 +00:00
d4709d16f3
`ProfileBufferChunkManagerWithLocalLimit` is a chunk manager that enforces a memory limit in each process. It is meant to mimic the main way `BlocksRingBuffer` works, so that we can more easily switch to the new buffer storage without introducing the extra complexity of inter-process memory coordination yet. `ProfileBufferChunkManagerWithLocalLimit` will still offer a benefit over `BlocksRingBuffer`, in that it won't allocate the maximum buffer size immediately -- speeding the initialization, and hopefully even reducing the total Firefox memory consumption in short-lived processes. Differential Revision: https://phabricator.services.mozilla.com/D68770 --HG-- extra : moz-landing-system : lando