Closed
Bug 1692644
Opened 4 years ago
Closed 4 years ago
Add memory reporting to Stencil data structures
Categories
(Core :: JavaScript Engine, task, P2)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
87 Branch
Tracking | Status | |
---|---|---|
firefox87 | --- | fixed |
People
(Reporter: tcampbell, Assigned: tcampbell)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
Add methods for the mozilla::MallocSizeOf
system to report memory usage for the stencil data structures. This will exclude external data that uses RefPtrs or is managed by the GC.
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
Add the general memory reporting code and then hook it up to ParseTask as a
concrete use case. Note that RefPtr targets are not counted directly as part
of the stencil. This may under-count things like ScriptSource that have not
been linked into the VM yet. This data is only used for the memory report
tool and under-counting will simply show up as heap-unclassified and we can
improve in future.
Depends on D105108
Pushed by tcampbell@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c0d13f97c8dc
Simplify StencilDelazificationSet. r=arai
https://hg.mozilla.org/integration/autoland/rev/627d3d446e0b
Add memory reporting for js::frontend::CompilationStencil. r=arai
Comment 4•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/c0d13f97c8dc
https://hg.mozilla.org/mozilla-central/rev/627d3d446e0b
Status: NEW → RESOLVED
Closed: 4 years ago
status-firefox87:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•