I just wanted to know behavior difference between garbage collector in Android and garbage collector Java.
Also, detail behavior of both garbage collectors.
I just wanted to know behavior difference between garbage collector in Android and garbage collector Java.
Also, detail behavior of both garbage collectors.
Short answer: There is in fact a difference between garbage collectors in Java and Android.
The reason for that is, that Android does not use the "standard" JVM, it uses Dalvik VM.
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.
For the android see this
http://docs.xamarin.com/guides/android/advanced_topics/garbage_collection/
for java read this
http://www.oracle.com/webfolder/technetwork/tutorials/obe/java/gc01/index.html
i think it will may help u to understand about both