Update about:memory accounting for wasm GC objects
Categories
(Core :: JavaScript: WebAssembly, task, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox143 | --- | fixed |
People
(Reporter: rhunt, Assigned: bvisness)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
From bug 1814520 I discovered we did not update some memory accounting routines for wasm GC objects. This would impact about:memory and also using the profiler to track allocation sizes.
[1] https://searchfox.org/mozilla-central/rev/387160feb07b75ae76bfc12df035a10f58d25168/js/src/vm/JSObject.cpp#3274
[2] https://searchfox.org/mozilla-central/rev/387160feb07b75ae76bfc12df035a10f58d25168/js/src/vm/JSObject.cpp#3209
Reporter | ||
Comment 1•24 days ago
|
||
These are both called from here [1] which is what is used for the profiler allocation sizes tracking code here [2].
[1] https://searchfox.org/mozilla-central/rev/387160feb07b75ae76bfc12df035a10f58d25168/js/src/vm/JSObject.cpp#3305-3311
[2] https://searchfox.org/mozilla-central/rev/387160feb07b75ae76bfc12df035a10f58d25168/js/src/vm/SavedStacks.cpp#2011
Reporter | ||
Updated•24 days ago
|
Assignee | ||
Comment 2•24 days ago
|
||
The size of WASM GC structs and arrays is now accounted for in
about:memory, for both nursery and tenured objects. This makes JS
allocation profiles much more useful.
Updated•24 days ago
|
Comment 4•22 days ago
|
||
bugherder |
Description
•