Open Bug 1855201 Opened 1 year ago Updated 2 months ago

Fix refcnt.incr() rooting hazard annotation

Categories

(Core :: JavaScript: GC, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: smaug, Unassigned)

References

(Blocks 1 open bug)

Details

I'm landing https://phabricator.services.mozilla.com/D189208 to add some AutoSuppressGCAnalysis objects on stack to avoid the hazard warnings coming from the addref.
I believe https://searchfox.org/mozilla-central/rev/c1fb133ca4901985070e519c92322b432fa254c5/js/src/devtools/rootAnalysis/annotations.js#291-292 should be tweaked and then those AutoSuppressGCAnalysis calls can be removed.
But probably worth to wait until bug 1843477 is on mozilla-central, so that we don't need to back out possibly also the annotations if bug 1843477 triggers still some other issues.

Component: General → JavaScript: GC
Blocks: hazard
You need to log in before you can comment on or make changes to this bug.