Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-4353] Use word-size field in native object header for reference counting #46932

Closed
bob-wilson opened this issue Mar 24, 2017 · 2 comments
Closed

Comments

@bob-wilson
Copy link

bob-wilson commented Mar 24, 2017

Previous ID SR-4353
Radar rdar://problem/29765800
Original Reporter @bob-wilson
Type Improvement
Status Resolved
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Improvement, AffectsABI
Assignee @gparker42
Priority Medium

md5: acede700f07b312a6e3ed4b7bd66e0e3

Issue 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 (#5282 sets the stage for this, but we still need to shrink the size of that field on 32-bit targets.

@gparker42
Copy link
Mannequin

gparker42 mannequin commented Mar 24, 2017

WIP: #7837

Need to correct one place in the reflection (`readMetadataSource` in ReflectionContext.h) and coordinate with the debugger and tools.

@bob-wilson
Copy link
Author

bob-wilson commented Nov 10, 2017

Greg did this in #12790

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant