Uploaded image for project: 'Swift'
  1. Swift
  2. SR-4353

Use word-size field in native object header for reference counting

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Medium
    • Resolution: Done
    • Component/s: Compiler
    • Labels:

      Description

      The plan for the stable ABI is to have a word-sized field in the native object header that can be used for reference counting. So far, we have had a fixed-size 64-bit field for that purpose. Greg Parker's work on the new reference counting implementation (https://github.com/apple/swift/pull/5282) sets the stage for this, but we still need to shrink the size of that field on 32-bit targets.

        Attachments

          Activity

            People

            • Assignee:
              gparker Greg Parker
              Reporter:
              bob-wilson Bob Wilson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: