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

[5.3] IRGen: ObjC method lists are not const. #33338

Merged

Conversation

jckarter
Copy link
Member

@jckarter jckarter commented Aug 6, 2020

Explanation: We incorrectly placed method lists in __DATA,__objc_const, causing us to dirty pages in the shared cache that are intended to remain clean

Scope: Performance issue

Issue: rdar://problem/66630432

Risk: Low. Should be no impact to end user code

Testing: Swift CI

Reviewed by: @mikeash

Put them in __objc_data instead of __objc_const. rdar://problem/66630432
@jckarter jckarter requested a review from a team as a code owner August 6, 2020 20:00
@jckarter jckarter added the r5.3 label Aug 6, 2020
@jckarter
Copy link
Member Author

jckarter commented Aug 6, 2020

@swift-ci Please test

@jckarter
Copy link
Member Author

jckarter commented Aug 6, 2020

@swift-ci Please nominate

@airspeedswift airspeedswift merged commit df007a4 into apple:release/5.3 Aug 10, 2020
@AnthonyLatsis AnthonyLatsis added swift 5.3 🍒 release cherry pick Flag: Release branch cherry picks labels Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks swift 5.3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants