Fix the leak!

How to keep njn happy, or
learning to stop worrying and fix a leak

Background

    What is a leak? cyclic references
    (no time to explain details!)
    Noticing leaks in review is hard
    Fixing leaks is hard
    But it is important! 




Leaks = performance

    Less memory use (duh!)
    Impacts garbage collection
    Impacts cycle collection
    i.e.: jankness 



We're getting better

    DOMWindow leaks reduced
    Cycle collection logger
    about:cc (Smaug)
    about:ccdump (Honza)
Debugging tools about:cc about:ccdump Performance:Leak Tools Chrome leak testing