On Mon, Mar 15, 2010 at 12:01 AM, Bob Kerns <[email protected]> wrote:

> 2) GC tends to touch a lot of memory, which can trigger paging
> activity
>

Actually I believe that a GC will cause little paging -- the memory that a
GC touches is by definition dirty, so is never a candidate to be swapped out
(since we don't do swapping).  The only paging that could happen is due to
pages with code that has not been used for a long time (maybe finalizers?),
since those are clean mmapped pages so can be dropped from memory if needed.

The bigger impact would be on CPU caches, which on these devices are quite
small.

-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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