Let me try to make things a little bit simpler here .... If one process allocate/deallocate memory and this triggers the system to call Garbage Collector, does this GC operation impacts other processes? This way, in a situation where you create a remote service and attach to it using a view, if this view triggers GC will the service´s performance suffer any impact?
Thanks On 18 maio, 11:57, Gabriel Simões <[email protected]> wrote: > Hello all, > > Since yesterday I got an idea running around my mind but I don´t know > first if it would work, and then how "hack" it would be. > > People who develop audio processing/recording/playback apps for > Android know how hard it is to maintain GC away from our critical > paths: playing and recording audio. > Processing must be as optimized as possible not only to save batery > and use less CPU, but also not to create new objects/allocate new > memory spaces ... this all to avoid GC at all cost. Well, we have > knowledge and this we can handle (mostly). > But what about all the other processing that happens from and for user > interaction? Media players display images, some apps display ads, ... > and sometimes we have to avoid releasing features to the users just to > maintain our critical paths free from GC. > > Yesterday I stumbled upon an article about remote services and this > led me to a doubt: if they can run as a different process, would a GC > call from my activity impact the performance of my remote service? I > really don´t know how GC works on the Dalvik so this may be a dumb > question. If so, I apologize. > > Thanks for your help, > Gabriel > > -- > 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 > athttp://groups.google.com/group/android-developers?hl=en -- 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

