GitHub - square/leakcanary: A memory leak detection library for Android and Java...
source link: https://github.com/square/leakcanary
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
LeakCanary
A memory leak detection library for Android.
square.github.io/leakcanary
If you like LeakCanary you can show support by starring this repository.
License
Copyright 2015 Square, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Recommend
-
109
Moshi Moshi is a modern JSON library for Android, Java and Kotlin. It makes it easy to parse JSON into Java and Kotlin classes: Note: The Kotlin examples of this README assume use of either Kotlin code gen or KotlinJsonAd...
-
62
View-Load-ReTry View-Load-ReTry:这个加载框架有点不一样,针对View进行加载,加载页面还保持了原View的属性,侧重点在灵活,哪里需要加载哪里 原理 :找到需要加载的View,放入FrameLayout(包含自定义的...
-
26
LeakCanary 是由 Square 开发的一款内存泄露检测工具。相比与用 IDE dump memory 的繁琐,它以轻便的日志被广大开发者所喜爱。让我们看看它是如何实现的吧。 ps: Square 以著名框架 Okhttp 被广大开发者所熟知。 2. 源...
-
34
LeakCanary 是一款专门用来侦测 Android 内存泄漏的类库。使用方式简单,代码侵入性低,基本上算是 Android 开发必备工具了。 今天就主要来分析一下 LeakCanary 的实现原理。在开头就简单地讲讲它的实现思路:LeakCanary 将检测...
-
10
In February 2020, Google rel...
-
5
2020年2月,谷歌发布了Android Studio 3.6版。它包括一个新的“内存泄漏检测”功能。这是否意味着我们不再需要流行的内存泄漏检测库“Leak C...
-
3
Android 内存泄露工具 leakcanary 2.6 浅析 2021-04-06 偶然看到一篇文章,思路清晰写得很好,但有些细节和现有版本不太一样,自己看了一遍做了一些调整与补充,加深印象。本文字数达6k,大部分为源码,请配合源码食用,否则没有什么意...
-
5
抛弃 leakcanary 使用 Android Profiler 进行内存泄露分析? 2021-06-16 做 Android 的都知道,目前最流行的内存泄露检测工具就是 leakcanary ,其简单高效的集成方式,直观的结果,似乎非常好用,但实际上 Android Studio 4.2 (多次迭...
-
5
-
3
Java四种引用在Java中,有四种不同的引用类型,分别是强引用(Strong Reference)、软引用(Soft Re...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK