On Oct 10, 2009, at 1:14 AM, Gabriel Zachmann wrote:

So, is 20% CPU time for the GC thread normal?

That's a lot more than I'd expect based on what you're doing. Either you've got code you haven't shown us that's allocating a ton of objects during the animation, or some system framework (CoreAnimation, presumably) is allocating a lot of collectable objects.

I've used CA in some GC'd apps and haven't seen noticeable collection activity, but maybe I haven't used the same APIs as you.

What you need, I think, is to find out how to use Instruments or Shark to track only the allocation of collectable objects. Then you can see where that's occurring. I don't know how to do that, myself, but I'm sure someone here does.

—Jens_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to