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

Make Fray replay more determinisitic #31

Merged
merged 6 commits into from
Aug 20, 2024
Merged

Conversation

aoli-al
Copy link
Member

@aoli-al aoli-al commented Aug 20, 2024

There are a couple of sources that make Fray replay not deterministic (and our solutions):

  • method call: add --dummy-run option to run the target application once before running Fray
  • Intellij calls toString from the debugger which calls concurrency primitives: add a document that helps users to disable it
  • Object.hashCode is based on memory address: replay Object.hashCode with controlled random.

@aoli-al aoli-al merged commit 75bc041 into main Aug 20, 2024
1 check 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.

1 participant