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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
840
これどうやって動いてるんだ? Spring Framework/Bootのソースを読む
sys1yagi
1
1.3k
Kotlin コルーチンを 理解しよう 2019 - KotlinFest2019 -
sys1yagi
40
31k
5分でわかるKotlin Coroutines Flow
sys1yagi
21
19k
Androidと非同期処理 とCoroutine1.0.0
sys1yagi
12
14k
Kotlin コルーチンを 理解しよう
sys1yagi
41
25k
アーキテクチャと Scaffolding Template
sys1yagi
8
1.4k
Androidの非同期処理をKotlinコルーチンで行う
sys1yagi
3
24k
解剖Kotlin ~バイトコードを読み解く~
sys1yagi
18
11k
Other Decks in Technology
See All in Technology
予期せぬコストの急増を障害のように扱う――「コスト版ポストモーテム」の導入とその後の改善
muziyoshiz
1
2k
データの整合性を保ちたいだけなんだ
shoheimitani
8
3.2k
ブロックテーマ、WordPress でウェブサイトをつくるということ / 2026.02.07 Gifu WordPress Meetup
torounit
0
190
Frontier Agents (Kiro autonomous agent / AWS Security Agent / AWS DevOps Agent) の紹介
msysh
3
180
Data Hubグループ 紹介資料
sansan33
PRO
0
2.7k
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
3k
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.4k
【Ubie】AIを活用した広告アセット「爆速」生成事例 | AI_Ops_Community_Vol.2
yoshiki_0316
1
110
制約が導く迷わない設計 〜 信頼性と運用性を両立するマイナンバー管理システムの実践 〜
bwkw
3
970
Context Engineeringの取り組み
nutslove
0
360
コスト削減から「セキュリティと利便性」を担うプラットフォームへ
sansantech
PRO
3
1.5k
プロポーザルに込める段取り八分
shoheimitani
1
430
Featured
See All Featured
WCS-LA-2024
lcolladotor
0
450
Building the Perfect Custom Keyboard
takai
2
690
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
120
First, design no harm
axbom
PRO
2
1.1k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
7.9k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
110
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.8k
Balancing Empowerment & Direction
lara
5
890
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
3.9k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1k
Tell your own story through comics
letsgokoyo
1
810
We Have a Design System, Now What?
morganepeng
54
8k
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/