-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Isolated synchronous deinit #60057
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
Isolated synchronous deinit #60057
Conversation
14fe1cd
to
0417ee9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is fantastic! A couple of comments and questions, both in design and implementation, but it's very much going in the right direction.
|
I would really appreciate a document about how to work with |
AFAICS the distributed adjustment looks good 👍 |
8e3201c
to
facc0ca
Compare
a4486cc
to
292f3e1
Compare
@swift-ci please test |
1 similar comment
@swift-ci please test |
5877715
to
47c4b24
Compare
@swift-ci please test |
47c4b24
to
4793499
Compare
@swift-ci please test |
I asked on the review thread, but maybe it'll get more visibility here. Any chance we can get a toolchain to test? |
@swift-ci please build toolchain |
1 similar comment
@swift-ci please build toolchain |
324c20d
to
dedd1e4
Compare
@swift-ci please build toolchain macOS |
@swift-ci please build toolchain |
@swift-ci please build toolchain macOS |
@swift-ci please test |
@swift-ci please build toolchain |
@swift-ci please test |
@swift-ci please build toolchain |
…r_deinit_escaping_self on Linux
@swift-ci please smoke test |
# Conflicts: # lib/SILGen/SILGenDistributed.cpp # lib/Sema/TypeCheckConcurrency.cpp
Fixes test/embedded/concurrency-actors.swift
… link it in linkEmbeddedRuntimeFromStdlib()
Magically fixed
…ode using additional reference counter
# Conflicts: # include/swift/Basic/Features.def # lib/AST/ASTPrinter.cpp # lib/AST/FeatureSet.cpp
@swift-ci please smoke test |
@swift-ci please smoke test |
@swift-ci please smoke test |
@swift-ci please smoke test |
Implementation of the Isolated asynchronous deinit
Still pending:I suspect that logic for adding attributes for inferred isolation is not correct, would like some input from the Core team about this.Still need to integrate with distributed actors, waiting for [Distributed] prevent remote distributed actor's from running deinit bodies #60050 to be merged.Didn't copy changes toBackDeployConcurrency
yet. I expect that I'll have to make changes based on review comments, and want to apply all changes toBackDeployConcurrency
in one go. I would appreciate some advice for maintaining the two in sync.Investigate fast path for self-isolated default actor's deinit