Bug 1847019 - Skip unnecessary atom marking work r=sfink
commit57c9ab68974662c235cbb23295c813f49112473a
authorJon Coppeard <jcoppeard@mozilla.com>
Fri, 4 Aug 2023 08:41:18 +0000 (4 08:41 +0000)
committerJon Coppeard <jcoppeard@mozilla.com>
Fri, 4 Aug 2023 08:41:18 +0000 (4 08:41 +0000)
tree0400f545ddcb283566e0b098713f633a5489edc0
parent6689d9efd397f2833c9942ab8dae6a8d8d20beaf
Bug 1847019 - Skip unnecessary atom marking work r=sfink

This patch skips marking atoms unsed by uncollected zones if there are no
uncollected zones.  Also it skips allocating a bitmap for the union of atoms to
mark if there's only one zone.

Differential Revision: https://phabricator.services.mozilla.com/D185314
js/src/gc/AtomMarking.cpp