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

Revert "Move RealCall and RealConnection to loom safe locks" #8367

Merged
merged 1 commit into from
Apr 17, 2024

Conversation

swankjesse
Copy link
Member

Reverts #8290

Unfortunately I think this PR is missing some synchronized blocks that needed to be converted to withLock {} blocks. Mixing and matching the two definitely doesn’t work, and our tests aren’t sophisticated enough to cover that.

I think this is a good idea; we just need to be particularly precise with the implementation. Every occurrence of a lock needs to be fixed together; otherwise we split the lock.

@yschimke
Copy link
Collaborator

Damn sorry, I merged against the pool warmer changes, thought I got them and obviously missed some

@yschimke yschimke merged commit 689d388 into master Apr 17, 2024
20 checks passed
@yschimke yschimke deleted the revert-8290-fix_some_loom branch April 17, 2024 05:15
yschimke added a commit to yschimke/okhttp that referenced this pull request Apr 17, 2024
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.

None yet

2 participants