Skip to content

[Reproducer] Disable parallel module import in SwiftASTContext during replay #211

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
Nov 6, 2019
Merged

[Reproducer] Disable parallel module import in SwiftASTContext during replay #211

merged 1 commit into from
Nov 6, 2019

Conversation

JDevlieghere
Copy link

The Swift AST context can imports all modules in parallel. While this
leads to a great performance improvement, it introduces a level of
non-determinism during replay. We should disable this functionality
during replay. Although it's still possible that this hides a bug, it
means that at least replays will be deterministic.

rdar://56947303

… replay.

The Swift AST context can imports all modules in parallel. While this
leads to a great performance improvement, it introduces a level of
non-determinism during replay. We should disable this functionality
during replay. Although it's still possible that this hides a bug, it
means that at least replays will be deterministic.

rdar://56947303
@JDevlieghere
Copy link
Author

@swift-ci please test

@JDevlieghere JDevlieghere merged commit f211cf6 into swiftlang:swift/master Nov 6, 2019
@JDevlieghere JDevlieghere deleted the disable-parallel-import-during-replay branch November 6, 2019 21:08
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