Before 1.6 I forced GC at times when it would not impact the user
experience.  I did this because I noticed bigger dumps happening
infrequently, sometimes at times that were not so cool, like during a
redraw.  It was sort of a preemptive dump.  (ie: my app eases to a stop when
the background is scolled/flinged - so I would force the dump after the
easing stopped).

Since 1.6 - Logcat reports more frequent GC - but with much smaller amounts
of memory.  This sort of threw off my scheduling trick - but for whatever
reason the overall experience seems better, so it goes.

I am guessing from this thread that there is more going on here so my
assumptions may be wrong.

At any rate - I am happy things are running better.

Thanks for the improvement!

Jason Van Anden
http://www.bubblebeats.com

On Mon, Oct 19, 2009 at 12:46 AM, Dianne Hackborn <[email protected]>wrote:

> Yeah, I don't know about GC optimizations, but background threads now get
> placed in a scheduling class that together can't use more than 5-10% of the
> CPU; this helps a lot in keeping the foreground responsive.
>
> On Sun, Oct 18, 2009 at 4:06 PM, CraigsRace <[email protected]> wrote:
>
>>
>> My games run smoother too.  1.6 is a great improvement!
>>
>> I seem to remember talk of background processes getting a lower
>> priority in 1.6, which might also be helping.
>>
>>
>> On Oct 19, 7:33 am, Nikolay Ananiev <[email protected]> wrote:
>> > My game's animations are way more smoother in Android 1.6. Google did a
>> > great job optimizing 1.6
>> >
>> > On Sun, Oct 18, 2009 at 7:32 PM, Jason Van Anden
>> > <[email protected]>wrote:
>> >
>> > > I am unsure if this is something I am noticing because my app is
>> released
>> > > or not, but it seems to me that 1.6 GC's smaller amounts a lot more
>> > > frequently.  It seems to make for a lot less stuttering when graphics
>> are
>> > > drawn.   (Then again, maybe I changed something in my code).
>> >
>> > > Curious ... anyone else notice this?
>> >
>> > > Jason Van Anden
>> > >http://www.bubblebeats.com
>>
>>
>
>
> --
> 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