Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Faucet ~Fight against memory leak~
Search
yagi
May 15, 2014
Technology
1
710
Faucet ~Fight against memory leak~
Fight against memory leak.
yagi
May 15, 2014
Tweet
Share
More Decks by yagi
See All by yagi
医療現場の解像度を上げるために 開発チームが行っている取り組み
sys1yagi
0
620
これどうやって動いてるんだ? Spring Framework/Bootのソースを読む
sys1yagi
1
1.1k
Kotlin コルーチンを 理解しよう 2019 - KotlinFest2019 -
sys1yagi
40
30k
5分でわかるKotlin Coroutines Flow
sys1yagi
21
18k
Androidと非同期処理 とCoroutine1.0.0
sys1yagi
12
13k
Kotlin コルーチンを 理解しよう
sys1yagi
41
23k
アーキテクチャと Scaffolding Template
sys1yagi
8
1.3k
Androidの非同期処理をKotlinコルーチンで行う
sys1yagi
3
23k
解剖Kotlin ~バイトコードを読み解く~
sys1yagi
18
9.8k
Other Decks in Technology
See All in Technology
【swonet.conf_】NOCメンバーが語るSTMの実態!! ~ShowNetから若者への贈り物~
shownet
PRO
0
220
AWSへのNIST SP800-171管理策 導入に向けての整備/20240930 Mitsutoshi Matsuo
shift_evolve
0
140
入門 バックアップ
ryuichi1208
5
1k
virtme-ng
ennael
PRO
0
310
スモールスタート、不都合な真実 〜 耳当たりの良い言葉に現場が振り回されないために/20240930-ssmjp-small-start
opelab
12
1.7k
オープニング / MIERUNE JCT - Tokyo 2024
mierune
PRO
1
340
Report of JAWS PANKRATION 2024, a global online event using Amazon IVS
yoshimi0227
1
130
仮想化って何だろう
shkoga
0
140
【shownet.conf_】コンピューティング資源を統合した分散コンテナ基盤の進化
shownet
PRO
0
290
【インフラエンジニアbooks】30分でわかる「AWS継続的セキュリティ実践ガイド」
hssh2_bin
1
540
【shownet.conf_】クロージングセッション
shownet
PRO
0
220
山手線一周のパフォーマンス改善
suzukahr
0
110
Featured
See All Featured
The Power of CSS Pseudo Elements
geoffreycrofte
71
5.3k
It's Worth the Effort
3n
183
27k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
37
1.7k
Documentation Writing (for coders)
carmenintech
65
4.3k
Building Your Own Lightsaber
phodgson
102
6k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
In The Pink: A Labor of Love
frogandcode
139
22k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
249
21k
Making Projects Easy
brettharned
114
5.8k
Rails Girls Zürich Keynote
gr2m
93
13k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
2
210
Side Projects
sachag
452
42k
Transcript
Faucet ~Fight against memory leak~ potatotips #7 2014/05/15 in DeNA
https://www.flickr.com/photos/aisforangie/151880317/
ABOUT ME Twitter : @sys1yagi Blog : http://sys1yagi.com ! Android
Engineer at Cookpad https://www.flickr.com/photos/eilonwy77/9235707878/
Previous Potatotips #6 Casual checking of the memory leak.
INSUFFICIENT https://www.flickr.com/photos/nostaw21/3335955287/
MORE CASUAL https://www.flickr.com/photos/centralasian/5565136539/
https://www.flickr.com/photos/dhendrix/6644037141/
None
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.
DEMO
Mechanism https://www.flickr.com/photos/telemax/3209887483/
Compile Faucet Classes Inject Dex
None
Usage https://www.flickr.com/photos/isherwoodchris/4238118748/
None
Milestone
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
v0.0.2 • More intelligent leak check. • Report dialog. https://www.flickr.com/photos/strollers/164785542/
v0.0.3 • Send report to server. • Tracking and detection
on the server side. https://www.flickr.com/photos/tambako/4006576672/
https://github.com/sys1yagi/faucet Be Together! https://www.flickr.com/photos/katharina_90/4095571066/