Also remember that there is a Linux kernel in there somewhere, which has preemptive scheduling.

This means that while another application is performing GC, you application can still run - unlike when GC is triggered in your own application.

-- Kostya

17.11.2010 16:09, Mark Murphy пишет:
No, sorry. However, those applications will generally be running in a
background priority class, capped at 10% of the CPU.

On Wed, Nov 17, 2010 at 4:42 AM, kk<[email protected]>  wrote:
Hi all,

In looking at some performance issues for a game I'm developing I came
across some interesting facts.
Although I've minimised GC caused by my app, other apps can still
cause one.
Also, during framerate drops in my game, I've noticed things like the
weather service, email checked, etc.
going nuts in the background. (This is on Android 1.6).

I don't really want to block incoming calls, i.e. go into flight mode,
before the game starts.
I think it's important for the game to be interrupted if there's an
incoming call.
However, while playing, I don't think people care about weather
updates, email updates, texts, etc.

Is there an interface that will let me control what is "active" in the
background and what should be "suspended"?

cheers,
kk.

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





--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

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