基本能确定是我所理解的那样,在 Android2.3 中,引入了对虚拟机的优化,采用并发的方式提高了垃圾回收的效率。
以下是我查到的相关资料,分享给大家:
https://developer.android.com/training/articles/perf-tips.html
The concurrent garbage collector introduced in Android 2.3 helps, but unnecessary work should always be avoided.
https://developer.android.com/about/versions/android-2.3-highlights.html
Dalvik runtime
Dalvik VM:
Concurrent garbage collector (target sub-3ms pauses)
Adds further JIT (code-generation) optimizations
Improved code verification
StrictMode debugging, for identifying performance and memory issues
再次感谢 @
sagaxu 的提醒,让我找到方向。