gecko-dev/mozglue
Gerald Squelart dcbdec35d9 Bug 1626837 - ProfileChunkedBuffer basic data and functions - r=canaltinova
ProfileChunkedBuffer simulates a near-infinite buffer over ProfileBufferChunks.
It uses a ProfileBufferChunkManager to get chunks and later release them.
Its use is similar to BlocksRingBuffer:
- It reserves blocks in chunks, adds some structure (just the size of the entry
  that follows), and lets a user-provided writer write the entry.
- It allows reading past entries.
- It can be in an "out-of-session" state where APIs are still available but do
  nothing.

It is intended to eventually replace BlocksRingBuffer.

This patch starts with the basic structure, following patches will add all
planned features.

Differential Revision: https://phabricator.services.mozilla.com/D69493

--HG--
extra : moz-landing-system : lando
2020-04-15 03:21:09 +00:00
..
android Bug 1557570 - Call baseprofiler::profiler_init() from the first mozglue function that runs. r=gerald 2020-03-17 04:15:04 +00:00
baseprofiler Bug 1626837 - ProfileChunkedBuffer basic data and functions - r=canaltinova 2020-04-15 03:21:09 +00:00
build Bug 1627683 - Update TSAN suppression list following changes to give GC cells headers r=decoder 2020-04-07 12:22:07 +00:00
dllservices Bug 1628628 - RedirectToNoOpEntryPoint is expected to block a module with ASAN. r=mhowell 2020-04-10 23:44:17 +00:00
linker Bug 1626884 - Make RC non-copyable and declare operator= only in debug builds. r=froydnj 2020-04-06 09:17:34 +00:00
misc Bug 1629317 - Replace MOZ_MUST_USE with [[nodiscard]] in mozglue/misc/NativeNt.h. r=mhowell 2020-04-13 15:15:32 +00:00
static Bug 1617369 - Reformat mozglue/ using rustfmt r=glandium 2020-03-04 06:12:38 +00:00
tests Bug 1626837 - ProfileChunkedBuffer basic data and functions - r=canaltinova 2020-04-15 03:21:09 +00:00
moz.build Bug 1598196 - Support disabling the linker on Android in the code. r=froydnj 2019-11-21 14:57:24 +00:00