Closed hjyamauchi closed 1 month ago
CC @compnerd
Context: we are experiencing a occasional swift compiler hang issue on Windows on many-core machines. We have so far narrowed it down to dropped socket file descriptors due to some sort of data corruption in the __CFReadSocketsFds
bit vector. Though we haven't fully figured it out, this change seems to be a reliable workaround for it.
The details are described at https://github.com/apple/swift/issues/73532
Closing in favor of https://github.com/apple/swift-corelibs-foundation/pull/4954
Increase the initial size of __CFReadSocketsFds to reduce the chance of resizing it which appears to lead to compiler hangs.