On Thu, Sep 17, 2015 at 5:31 AM, Gerald Squelart <[email protected]> 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

It is generally too spammy to include in the TreeHerder log, but it can be
useful.

Andrew



>
> Cheers,
> Gerald
>
> [1] https://hg.mozilla.org/try/rev/8dffaf0d2acf
> _______________________________________________
> dev-platform mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-platform
>
_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to