Closed Bug 1978641 Opened 24 days ago Closed 22 days ago

Update about:memory accounting for wasm GC objects

Categories

(Core :: JavaScript: WebAssembly, task, P1)

task

Tracking

()

RESOLVED FIXED
143 Branch
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

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.

Assignee: nobody → bvisness
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 22 days ago
Resolution: --- → FIXED
Target Milestone: --- → 143 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: