Closed Bug 1289252 Opened 5 years ago Closed 5 years ago
DEBUG _Live Proto Count does not need to be modified atomically
gDEBUG_LiveProtoCount is a debug-only counter of the number of live XPCWrappedNativeProtos. Currently, it is updated with PR_ATOMIC_INCREMENT/DECREMENT, presumably because XPConnect used to be multithreaded, but this is now unnecessary. This code looks essentially unchanged since the initial XPCDOM landing.
Attachment #8775205 - Flags: review?(mrbkap)
Attachment #8775205 - Flags: review?(mrbkap) → review+
Thanks for all of the various reviews.
Pushed by email@example.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/de70d037b6b9 gDEBUG_LiveProtoCount does not need to be modified atomically. r=mrbkap
You need to log in before you can comment on or make changes to this bug.