Closed
Bug 1859335
Opened 11 months ago
Closed 11 months ago
Refactor object moved hooks to remove duplicated logic
Categories
(Core :: JavaScript: GC, task, P3)
Core
JavaScript: GC
Tracking
()
RESOLVED
FIXED
121 Branch
Tracking | Status | |
---|---|---|
firefox121 | --- | fixed |
People
(Reporter: jonco, Assigned: jonco)
References
(Regressed 1 open bug)
Details
(Whiteboard: [sp3])
Attachments
(1 file)
Object moved hooks are called when an object is tenured and often deal with moving buffers owned by the object from the nursery to malloc memory and updating their memory accounting. This logic is present in a bunch of places. We should move it to a central utility method.
Besides being generally nicer, this will be useful for any kind of partial nursery collection since we will only have to update this logic in one place.
Updated•11 months ago
|
Severity: -- → S3
Priority: -- → P3
Assignee | ||
Comment 1•11 months ago
|
||
Updated•11 months ago
|
Whiteboard: [sp3]
Updated•11 months ago
|
See Also: → https://mozilla-hub.atlassian.net/browse/SP3-633
Pushed by jcoppeard@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/81da3438530d Abstract out buffer handling logic from object moved hooks r=sfink
Comment 3•11 months ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 11 months ago
status-firefox121:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 121 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•