Just want to make it 100% clear.

Android OS use 2 GC algorithms - Mark&Sweep and Concurrent Mark&Sweep.

Before 2.3 there was no concurrent algorithm - just a serial one.

Serial Mark&Sweep - is compacting algorithm and only work with Young 
generation.

CMS works with both generations(Yong and Old) and it's not compacting, just 
uses free lists. Also, there is no PermGen space in Android. In general, 
CMS works with Old generation, because Young is already cleared by serial 
algorithm and this process called 'Full GC'. In general, CMS performs only 
partial clearing.

Am i right ? :)

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to