Skip to content

Concurrency: do not remove shared or dirty pointers from the value set #6121

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 3, 2021

Conversation

tautschnig
Copy link
Collaborator

Just like we always add (and never replace) shared pointers in
goto_symex_statet::assignment, symex_dead should not remove shared or
dirty pointers.

This fixes a first problem, with further problems remaining as
indicated by the KNOWNBUG regression test.

  • Each commit message has a non-empty body, explaining why the change was made.
  • Methods or procedures I have added are documented, following the guidelines provided in CODING_STANDARD.md.
  • n/a The feature or user visible behaviour I have added or modified has been documented in the User Guide in doc/cprover-manual/
  • Regression or unit tests are included, or existing tests cover the modified code (in this case I have detailed which ones those are in the commit message).
  • n/a My commit message includes data points confirming performance improvements (if claimed).
  • My PR is restricted to a single feature or bugfix.
  • n/a White-space or formatting changes outside the feature-related changed lines are in commits of their own.

@codecov
Copy link

codecov bot commented May 14, 2021

Codecov Report

Merging #6121 (264c841) into develop (74e4365) will increase coverage by 0.00%.
The diff coverage is 94.44%.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #6121   +/-   ##
========================================
  Coverage    75.96%   75.97%           
========================================
  Files         1508     1508           
  Lines       163292   163301    +9     
========================================
+ Hits        124052   124060    +8     
- Misses       39240    39241    +1     
Impacted Files Coverage Δ
src/goto-symex/symex_dead.cpp 95.65% <94.44%> (-4.35%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f917b98...264c841. Read the comment docs.

Copy link
Collaborator

@martin-cs martin-cs left a comment

Choose a reason for hiding this comment

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

Approve but if you have time to look at the KNOWNBUG before merging, that would be great.

@tautschnig
Copy link
Collaborator Author

Approve but if you have time to look at the KNOWNBUG before merging, that would be great.

Oh, my apologies for failing to make that clear: that's fixed in #6122.

@tautschnig tautschnig force-pushed the concurrency-dirty-1 branch from 9007782 to f0a57fb Compare August 11, 2021 11:03
Just like we always add (and never replace) shared pointers in
goto_symex_statet::assignment, symex_dead should not remove shared or
dirty pointers.

This fixes a first problem, with further problems remaining as
indicated by the KNOWNBUG regression test.
@tautschnig tautschnig merged commit 00c76c9 into diffblue:develop Nov 3, 2021
@tautschnig tautschnig deleted the concurrency-dirty-1 branch November 3, 2021 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants