Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Faucet ~Fight against memory leak~

800912a73ce4e879003b6c89cf80cfeb?s=47 yagi
May 15, 2014

Faucet ~Fight against memory leak~

Fight against memory leak.

800912a73ce4e879003b6c89cf80cfeb?s=128

yagi

May 15, 2014
Tweet

Transcript

  1. Faucet ~Fight against memory leak~ potatotips #7 2014/05/15 in DeNA

    https://www.flickr.com/photos/aisforangie/151880317/
  2. ABOUT ME Twitter : @sys1yagi Blog : http://sys1yagi.com ! Android

    Engineer at Cookpad https://www.flickr.com/photos/eilonwy77/9235707878/
  3. Previous Potatotips #6 Casual checking of the memory leak.

  4. INSUFFICIENT https://www.flickr.com/photos/nostaw21/3335955287/

  5. MORE CASUAL https://www.flickr.com/photos/centralasian/5565136539/

  6. https://www.flickr.com/photos/dhendrix/6644037141/

  7. None
  8. Faucet is … https://www.flickr.com/photos/vinothchandar/4415664247/ ✤ Auto track to fields by

    AOP. ✤ Dump automatically when onDestroy() is called. ✤ Ignore primitive types and static fields.
  9. DEMO

  10. Mechanism https://www.flickr.com/photos/telemax/3209887483/

  11. Compile Faucet Classes Inject Dex

  12. None
  13. Usage https://www.flickr.com/photos/isherwoodchris/4238118748/

  14. None
  15. Milestone

  16. v0.0.1 • Auto object tracking. • dump automatically when onDestroy()

    is called. • Ignore primitive types • Ignore static fields • Support Ignore Annotation(WIP) https://www.flickr.com/photos/tambako/6124292403
  17. v0.0.2 • More intelligent leak check. • Report dialog. https://www.flickr.com/photos/strollers/164785542/

  18. v0.0.3 • Send report to server. • Tracking and detection

    on the server side. https://www.flickr.com/photos/tambako/4006576672/
  19. https://github.com/sys1yagi/faucet Be Together! https://www.flickr.com/photos/katharina_90/4095571066/