Skip to content

[Runtime] Support lazy ObjC realization of Swift classes. #76498

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

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

mikeash
Copy link
Contributor

@mikeash mikeash commented Sep 16, 2024

When the ObjC runtime indicates that it supports lazy realization, avoid forcing realization of classes while setting them up. This saves time and memory for classes that never touch the parts of the ObjC runtime that trigger realization

rdar://136102084

When the ObjC runtime indicates that it supports lazy realization, avoid forcing realization of classes while setting them up. This saves time and memory for classes that never touch the parts of the ObjC runtime that trigger realization

rdar://136102084
@mikeash mikeash requested a review from al45tair as a code owner September 16, 2024 21:18
@mikeash
Copy link
Contributor Author

mikeash commented Sep 26, 2024

@swift-ci please test

@mikeash mikeash enabled auto-merge September 26, 2024 22:13
@mikeash mikeash merged commit 0d747d4 into swiftlang:main Sep 27, 2024
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants