Hi there,
I migrated an existing cocoa application to run under x86_64 with
Xcode 3.1 / Mac OS 10.5.4. The app still runs fine under 32 bit but
when started in x86_64 mode, it runs about 3-4 times slower.
A shark profile reveals the following hot traces:
8.9% libgcc_s.1.dylib _Unwind_GetIPInfo
7.6% libgcc_s.1.dylib _Unwind_GetIPInfo
7.6% libgcc_s.1.dylib _Unwind_Backtrace
7.6% libobjc.A.dylib objc_addExceptionHandler
7.5% Unknown Library _CFDoExceptionOperation
7.2% Unknown Library _NSAppKitLock
1.5% Unknown Library
-[NSView nextKeyView]
1.2% Unknown Library
-[NSView _primitiveSetNextKeyView:]
0.8% Unknown Library
+[NSControl cellClass] [unknown]
0.7% Unknown Library
-[NSCell setMnemonicLocation:]
0.6% Unknown Library
SetPlaceholderString
0.5% Unknown Library
-[NSView previousKeyView]
0.2% Unknown Library -[NSControl
_setControlTextDelegateFromOld:toNew:]
These hot traces do not show up when I profile the app running under
32 bit.
Does anybody know why a 64 bit app could be spending so much time in
these methods?
Cheers
Frank
_______________________________________________
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 [EMAIL PROTECTED]