Reputation: 59
From the Google groups I came to know that android 2.3 is using concurrent garbage collector. From the source code i can see that it uses both copying collector as well as mark and sweep, my question is whether the concurrency has been implemented in mark and sweep GC or in copying GC.please help me soon in this
Upvotes: 3
Views: 1270
Reputation: 59
By default concurrency means, concurrent mark and sweep garbage collector only. So in android 2.3 concurrent mark and sweep is used for stack related objects treating everything as pointer and copying garbage collection is used for the objects in the heap.
Upvotes: 2