Symbol allocation doesn't trigger a last ditch GC on failure
Categories
(Core :: JavaScript: GC, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox68 | --- | fixed |
People
(Reporter: jonco, Assigned: jonco)
References
Details
Attachments
(1 file)
Currently we don't do a last ditch GC if symbol allocation fails. The code works like this because it was written when you need to take a lock for allocating in the atoms zone, which would also be required for the last ditch GC. That is not the case any more so we can remove this restriction.
Assignee | ||
Comment 1•6 years ago
|
||
This removes the NoGC specifier and ensures GC things are passed in handles rather than raw pointers. The existing comments helpfully pointed out where we need to use DependentAddPtr.
Assignee | ||
Updated•6 years ago
|
Comment 3•6 years ago
|
||
Backed out 2 changesets (Bug 1505622, Bug 1540719) for spidermonkey bustages in Allocator.cpp
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=239002452&repo=mozilla-inbound&lineNumber=5890
Backout: https://hg.mozilla.org/integration/mozilla-inbound/rev/7d3896c97b076b5784b4f3831aee796a5b1e311f
Assignee | ||
Comment 7•6 years ago
|
||
(In reply to Jon Coppeard (:jonco) from comment #5)
In fact, there was more bustage that was related to this patch. Hopefully this sticks now.
Comment 8•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/54dffe309994
https://hg.mozilla.org/mozilla-central/rev/401de283153d
Updated•6 years ago
|
Assignee | ||
Updated•5 years ago
|
Description
•