Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jan 20, 2022. It is now read-only.

Conversation

@johnynek
Copy link
Collaborator

This adds the tests in #645, verifies that bug manifests, then I fixed the bug. Seems to fix #631 for real. /cc @pankajroark

@johnynek
Copy link
Collaborator Author

It also fixes #646

@johnynek johnynek changed the title Fix a bug in memory laws with redundant also Fix a bug in memory platforms with redundant also Dec 11, 2015
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here is the bug that hits ConcurrentMemory.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The bug here is that the dependantsOf(p) != r in this case?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, I was looking up the graph, then dependantsOf brought me back down, causing an infinite loop. Wrong direction.

@ianoc
Copy link
Collaborator

ianoc commented Dec 11, 2015

LGTM, maybe minor comment update if the revision makes sense.

ianoc added a commit that referenced this pull request Dec 11, 2015
Fix a bug in memory platforms with redundant also
@ianoc ianoc merged commit 422d72c into develop Dec 11, 2015
@ianoc ianoc deleted the oscar/fix-memory-also branch December 11, 2015 19:53
@johnynek johnynek mentioned this pull request Jan 11, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MemoryPlatform with unneeded .also can produce double writes

3 participants