5 ms·
Windows phone 7 seems super smooth and has a gc. But Microsoft has modified to gc behavior to limit interruptions. There is no reason the gc needs to be firing
by equark 16y ago
Windows phone 7 seems super smooth and has a gc. But Microsoft has modified to gc behavior to limit interruptions. There is no reason the gc needs to be firing during ui scrolls. Google should be able to do the same. From http://blogs.msdn.com/b/abhinaba/archive/2010/07/29/windows-phone-7-app-development-when-does-the-gc-run.aspx http://blogs.msdn.com/b/abhinaba/archive/2010/07/29/windows-... :
1. GC is not run on some timer. So if a process is not allocating any memory and there is no low-memory situation then GC will never be fired irrespective of how long the application is running
2. The phone is never woken up by the CLR to run GC. GC is always in response to an active request OR allocation failure OR low memory notification.
3. In the same lines there is no GC thread or background GC on WP7
- ergo98 16y agoAndroid's GC is very aggressive. Further, pretty much everything is an object, so it's constantly being worked. I would save judgement on Windows Mobile 7 until it really is running various apps and doing active day to day work. A fresh Android phone is very smooth. Once you have it checking all of your accounts, have twitter and facebook feeds and dropbox running, rdio in the background, etc, the demands on the GC are much higher.
- mikeryan 16y agoWhich leads into apple's extreme aversion to background apps....
- joelhaasnoot 16y agoWhich is what was Windows Mobile 6 and earliers' big downfall. Once it crashed, everything crashed, once it froze, it all foze...