且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

GC的Java和Android GC之间的区别?

更新时间:2023-01-15 13:01:27

简短的回答:有,其实是用Java和Android的垃圾收集器之间的差异

Short answer: There is in fact a difference between garbage collectors in Java and Android.

这其中的原因是,Android不使用标准的JVM,它使用的 Dalvik虚拟机

The reason for that is, that Android does not use the "standard" JVM, it uses Dalvik VM.

您可以阅读有关垃圾收集的JVM的此处。此外,我建议这个问题Technical Android的垃圾收集器的细节,以获取有关Android的垃圾收集器的概念有一定的了解。

You can read some more information about the concept of garbage collection in JVM here. Additionally I recommend the question Technical details of Android Garbage Collector to get some knowledge about the garbage collector concept in Android.