author | Jon Coppeard <jcoppeard@mozilla.com> |
Fri, 15 Oct 2021 16:21:24 +0000 | |
changeset 596021 | 65234acc241da0e54793738ecfd069337fb67bb8 |
parent 596020 | abd389d9d91309740bfbf927a4c50738be39ff84 |
child 596022 | 3a02803e1d29b9124b3e0a95721b8eb9878f8059 |
push id | 38881 |
push user | imoraru@mozilla.com |
push date | Fri, 15 Oct 2021 21:35:21 +0000 |
treeherder | mozilla-central@ff6d6594f7b0 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | sfink |
bugs | 1736021 |
milestone | 95.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/js/src/gc/Sweeping.cpp +++ b/js/src/gc/Sweeping.cpp @@ -1192,17 +1192,18 @@ void GCRuntime::updateAtomsBitmap() { // refineZoneBitmapForCollectedZone call can only remove atoms from the // zone bitmap, so it is conservative to just not call it. } atomMarking.markAtomsUsedByUncollectedZones(rt); // For convenience sweep these tables non-incrementally as part of bitmap // sweeping; they are likely to be much smaller than the main atoms table. - rt->symbolRegistry().sweep(); + SweepingTracer trc(rt); + rt->symbolRegistry().traceWeak(&trc); } void GCRuntime::sweepCCWrappers() { AutoSetThreadIsSweeping threadIsSweeping; // This can touch all zones. for (SweepGroupZonesIter zone(this); !zone.done(); zone.next()) { zone->sweepAllCrossCompartmentWrappers(); } }