Skip to content

Fixed deadlock in -collectDirtyChildren: #306

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
Sep 23, 2015

Conversation

richardjrossiii
Copy link
Contributor

By no longer holding a lock while recursing, we allow other threads who may be waiting on the current object to progress before iterating to children of the object, solving some of the deadlocks that we've seen in issues #11, #61, and #299.

This does not necessarily fix the above issues, as we probably still have similar deadlocks elsewhere in the codebase.

This is based on the mutable containers branch until the time comes to land this, as we want some of our users to be able to test this, and mutable containers also contains deadlocks.

cc @grantland

@nlutsenko
Copy link
Contributor

Rebase on master?

@richardjrossiii
Copy link
Contributor Author

Get your rebates folks! Parse, now 50% off! 😁 💵

Like I said in the description. Keeping this one on mutable containers so we can have some of our users more easily test it.

@nlutsenko
Copy link
Contributor

LGTM
Merge after rebasing.

By no longer holding a lock while recursing, we allow other threads who may be waiting on the current object to progress before iterating to children of the object, solving some of the deadlocks that we've seen in issues #11, #61, and #299.

This does not necessarily fix the above issues, as we probably still have similar deadlocks elsewhere in the codebase.

cc @grantland
@richardjrossiii richardjrossiii force-pushed the richardross.collectdirtychildren.deadlock branch from e8b9c53 to da2df65 Compare September 23, 2015 18:52
richardjrossiii added a commit that referenced this pull request Sep 23, 2015
…ildren.deadlock

Fixed deadlock in -collectDirtyChildren:
@richardjrossiii richardjrossiii merged commit 38be076 into master Sep 23, 2015
@richardjrossiii richardjrossiii deleted the richardross.collectdirtychildren.deadlock branch September 23, 2015 21:13
@nlutsenko nlutsenko added this to the 1.9.0 milestone Sep 23, 2015
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.

3 participants