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•5 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•5 years ago
|
Pushed by jcoppeard@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/87ae5e3b6962 Perform a last ditch GC if symbol allocation fails as we do for most other GC things r=sfink
Comment 3•5 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
Pushed by jcoppeard@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/54dffe309994 Perform a last ditch GC if symbol allocation fails as we do for most other GC things r=sfink
Pushed by jcoppeard@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/401de283153d Fix rooting hazard in test code r=me
Assignee | ||
Comment 7•5 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•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/54dffe309994
https://hg.mozilla.org/mozilla-central/rev/401de283153d
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Description
•