With the phone sitting *idle*, Dalvik GCs every 3.5sec on average.  A
GC usually takes ~260ms.  That means that a whole 7.4% of the time it
is garbage collecting (albeit for only a quarter of a second each
time).  *7.4% of the time* the UI is completely unresponsive (and this
percentage increases once your UI starts allocating its own objects
during user interaction).  This results in all sorts of unpleasantness
that goes deeper than overall jerkiness of the UI:

http://code.google.com/p/android/issues/detail?id=1742
http://code.google.com/p/android/issues/detail?id=1740

Are there any plans to decrease the time needed for garbage collection
in Dalvik (maybe using a multi-stage object obsoletion and recycling
scheme like in Sun's JVM 1.6+)?

--~--~---------~--~----~------------~-------~--~----~
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