Improve compacting GC assertions and poisoning
Categories
(Core :: JavaScript: GC, task, P1)
Tracking
()
People
(Reporter: jonco, Assigned: jonco)
References
Details
Attachments
(2 files)
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-esr68+
|
Details | Review |
These patches were originally written for bug 1600895.
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
This makes sure we will detect use of the contents of moved GC things during the update phase of the GC, not just when we return to the mutator as previously. Annoyingly we need to preserve contents for native objects with fixed elements because the elements flags are stored there and these may be accessed from other objects if they are COW elements.
This caught a use of unforwarded scripts during invalidation caused by OOM during sweeping type information.
Comment 4•5 years ago
|
||
Backed out 2 changesets (Bug 1618131) for linux build bustages at Poison.h.
https://hg.mozilla.org/integration/autoland/rev/2fb440de0e0c5d104296309fd1cf207ddff14aec
Failure log:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=290535374&repo=autoland&lineNumber=64706
Comment 6•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d9a9dd047d64
https://hg.mozilla.org/mozilla-central/rev/ea0a05b19edb
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 7•5 years ago
|
||
Comment on attachment 9129086 [details]
Bug 1618131 - Poison moved GC thing contents sooner r=jandem
ESR Uplift Approval Request
- If this is not a sec:{high,crit} bug, please state case for ESR consideration: Required for bug 1618880. This is a possible GC crash / security vulnerability.
- User impact if declined: Possible GC crash / security vulnerability.
- Fix Landed on Version: 75
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): This is a small patch that adds some debug-only poisoning and forwards some GC pointers in a couple of places.
- String or UUID changes made by this patch: None
Comment 8•5 years ago
|
||
Comment on attachment 9129086 [details]
Bug 1618131 - Poison moved GC thing contents sooner r=jandem
Prereq patch needed for bug 1618880. Approved for 68.7esr.
Comment 9•5 years ago
|
||
bugherder uplift |
Description
•