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
730
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
720
これどうやって動いてるんだ? Spring Framework/Bootのソースを読む
sys1yagi
1
1.2k
Kotlin コルーチンを 理解しよう 2019 - KotlinFest2019 -
sys1yagi
40
31k
5分でわかるKotlin Coroutines Flow
sys1yagi
21
18k
Androidと非同期処理 とCoroutine1.0.0
sys1yagi
12
14k
Kotlin コルーチンを 理解しよう
sys1yagi
41
24k
アーキテクチャと Scaffolding Template
sys1yagi
8
1.4k
Androidの非同期処理をKotlinコルーチンで行う
sys1yagi
3
23k
解剖Kotlin ~バイトコードを読み解く~
sys1yagi
18
10k
Other Decks in Technology
See All in Technology
テキスト解析で見る PyCon APAC 2025 セッション&スピーカートレンド分析
negi111111
0
270
SREが実現する開発者体験の革新
sansantech
PRO
0
160
“パスワードレス認証への道" ユーザー認証の変遷とパスキーの関係
ritou
1
270
JPOUG Tech Talk #12 UNDO Tablespace Reintroduction
nori_shinoda
1
110
.mdc駆動ナレッジマネジメント/.mdc-driven knowledge management
yodakeisuke
24
10k
Amazon CloudWatch Application Signals ではじめるバーンレートアラーム / Burn rate alarm with Amazon CloudWatch Application Signals
ymotongpoo
5
290
NLP2025 参加報告会 / NLP2025
sansan_randd
4
500
TopAppBar Composableをカスタムする
hunachi
0
170
7,000名規模の 人材サービス企業における プロダクト戦略・戦術と課題 / Product strategy, tactics and challenges for a 7,000-employee staffing company
techtekt
0
250
プロダクト開発におけるAI時代の開発生産性
shnjtk
2
190
こんなデータマートは嫌だ。どんな? / waiwai-data-meetup-202504
shuntak
5
1.7k
データベースで見る『家族アルバム みてね』の変遷 / The Evolution of Family Album Through the Lens of Databases
kohbis
4
1.1k
Featured
See All Featured
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
41
2.2k
Art, The Web, and Tiny UX
lynnandtonic
298
20k
Practical Orchestrator
shlominoach
186
10k
Why Our Code Smells
bkeepers
PRO
336
57k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
34
2.2k
KATA
mclloyd
29
14k
A Tale of Four Properties
chriscoyier
158
23k
Stop Working from a Prison Cell
hatefulcrawdad
268
20k
4 Signs Your Business is Dying
shpigford
183
22k
Fontdeck: Realign not Redesign
paulrobertlloyd
83
5.5k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
119
51k
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/