Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 879267
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T11:54:16+00:00 2026-05-15T11:54:16+00:00

For any application that I have on my Mac, is there a way to

  • 0

For any application that I have on my Mac, is there a way to tell if it was compiled with GC enabled, or if it’s doing manual memory management?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T11:54:16+00:00Added an answer on May 15, 2026 at 11:54 am

    I found the answer here. Mind you that the original post is wrong, but contains a comment by Mark Rowe, an Apple engineer, that points the way.

    I have re-run the otool commands he mentions on my machine with the current OS (10.6.4). Here’s the output:

    $ uname -a
    Darwin meaningless.local 10.4.0 Darwin Kernel Version 10.4.0: Fri Apr 23 18:28:53 PDT 2010; root:xnu-1504.7.4~1/RELEASE_I386 i386
    
    ### Mail doesn't use GC
    $ otool -oV /Applications/Mail.app/Contents/MacOS/Mail | tail -3
    Contents of (__DATA,__objc_imageinfo) section
      version 0
        flags 0x0
    
    ### Xcode supports GC and retain/release
    $ otool -oV /Developer/Applications/Xcode.app/Contents/MacOS/Xcode | tail -3
    Contents of (__DATA,__objc_imageinfo) section
      version 0
        flags 0x2 OBJC_IMAGE_SUPPORTS_GC
    

    Mark Rowe’s explanation:

    The field of interest here is the “flags” field of the __image_info section of the __OBJC segment.
    If garbage collection is supported it will have the value 0×2 and will be shown as “GC RR” to
    represent that both garbage collection and retain/release are supported. If garbage collection
    is required then the field will have the value 0×4 and will be shown as “GC-only” indicating
    that only garbage collection is supported and that retain/release is not available. The field
    can also contain other values, but those two are the only values that are relevant to garbage collection.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In an application that has multiple webviews, is there any way to have the
I have a web application that is deployed with web.config file. Are there any
I have a ClickOnce application that deploys without any problems from a Win2K3 server
I have a PHP application that is built around the MVC architecture without any
Is there any application that will read a MySQL database table and generate a
Is there any limit that application state in asp.net can store ?? Am trying
I have this Mac application that consists of 2 files: firstFile.tst secondFile I would
So I have this SFML 1.6 application that works well on Mac OS X
We have an application that we're porting to Mac OS from Windows. Once installed,
My Cocoa (Mac) application deals with a file format that doesn't have a standardised

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.