On Friday, September 18, 2015 at 3:55:27 AM UTC+10, Andrew McCreight wrote: > On Thu, Sep 17, 2015 at 7:42 AM, Andrew McCreight > wrote: > > > > On Thu, Sep 17, 2015 at 5:31 AM, Gerald Squelart > > wrote: > > > >> Good stuff! > >> > >> I hope you'll consider tracking AddRef's and Release's as well. > >> > >> I recently experimented with that for a troubled RefCounted class [1], > >> and it was very useful to find which AddRef didn't have its corresponding > >> Release. > > > > There's already refcount logging for this: > > http://www-archive.mozilla.org/performance/refcnt-balancer.html > > > Olli points out that I should actually link to the more modern page for > this: > > https://developer.mozilla.org/en-US/docs/Mozilla/Performance/Refcount_tracing_and_balancing > > Anybody who wants help with refcount logging should feel free to get in > touch with me and I can help walk them through it. > > > > It is generally too spammy to include in the TreeHerder log, but it can be > > useful. > > > > Andrew
Thanks for the links Andrew, I'll give it a go next time! g. _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform