Extract entry reader&writer out of BlocksRingBuffer
Categories
(Core :: Gecko Profiler, task, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox76 | --- | fixed |
People
(Reporter: mozbugz, Assigned: mozbugz)
References
Details
Attachments
(4 files)
The entry reader&writer can be moved outside of BlocksRingBuffer.
The new fission-friendly storage will be able to use these classes directly, which will ease the transition.
Assignee | ||
Comment 1•5 years ago
|
||
Only reordering declarations, to make the next patch easier to read.
Assignee | ||
Comment 2•5 years ago
|
||
ProfileBufferEntrySerialization.h will contain the entry reader and writer.
This patch creates the file with renamed copies of the (de)serializers from
BlocksRingBuffer; there shouldn't be significant code changes, this hg cp
will
help keep their history. See next patch for how they will actually be used.
Depends on D65694
Assignee | ||
Comment 3•5 years ago
|
||
Actual implementation of the entry reader and writer.
They expose a very similar API as the original BlocksRingBuffer entry reader&
writer.
(No tests here; In the next patch they will get used instead of the old reader&
writer, and will hence inherit all relevant tests.)
Depends on D65695
Assignee | ||
Comment 4•5 years ago
|
||
The new ProfileBufferEntryReader/Writer are now used everywhere, including in
the profilers and tests.
The old EntryReader/Writer have been removed.
Depends on D65696
Comment 6•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b5ff9d8d43ec
https://hg.mozilla.org/mozilla-central/rev/6dd083a1efc1
https://hg.mozilla.org/mozilla-central/rev/b8005deff29e
https://hg.mozilla.org/mozilla-central/rev/aee1b0159e7e
Description
•