Closed Bug 1625856 Opened 5 years ago Closed 5 years ago

Implement ProfileBufferChunkManagerWithLocalLimit

Categories

(Core :: Gecko Profiler, task, P2)

task

Tracking

()

RESOLVED FIXED
mozilla76
Tracking Status
firefox76 --- fixed

People

(Reporter: mozbugz, Assigned: mozbugz)

References

Details

Attachments

(1 file)

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.

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.

Pushed by gsquelart@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/55a4c8d1591a ProfileBufferChunkManagerWithLocalLimit - r=canaltinova
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76

== Change summary for alert #25532 (as of Thu, 02 Apr 2020 11:52:51 GMT) ==

Improvements:

50% build times windows2012-aarch64 opt aarch64 taskcluster-m5.4xlarge 1,866.48 -> 926.67

For up to date results, see: https://treeherder.mozilla.org/perf.html#/alerts?id=25532

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: