Open Bug 1835000 Opened 3 years ago Updated 3 years ago

Check and forbid usage of Addref/release in hot paths.

Categories

(Developer Infrastructure :: Source Code Analysis, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: andi, Unassigned)

Details

As per this comment https://bugzilla.mozilla.org/show_bug.cgi?id=1620312#c18 from :masayuki we should have a checker that forbids the usage of Addref/release that appear in in profiles in hot paths and only in certain condition we should permit this with annotation.

You need to log in before you can comment on or make changes to this bug.