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

i#5538 memtrace seek, part 4: Check chunk boundaries #5710

Merged
merged 4 commits into from
Oct 31, 2022

Conversation

derekbruening
Copy link
Contributor

Adds an invariant check that chunk boundaries contain the proper number of instructions.

Fixes off-by-one errors in chunk counts due to not checking at end-of-loop, found by visual inspection (with a local view tool that prints instr counts; that will be committed later) and confirmed to break this new check without the fix in the
tool.drcacheoff.invariant_checker test.

Issue: #5538

Adds an invariant check that chunk boundaries contain the proper
number of instructions.

Fixes off-by-one errors in chunk counts due to not checking at
end-of-loop, found by visual inspection (with a local view tool that
prints instr counts; that will be committed later) and confirmed to
break this new check without the fix in the
tool.drcacheoff.invariant_checker test.

Issue: #5538
@derekbruening
Copy link
Contributor Author

run arm tests

@derekbruening
Copy link
Contributor Author

The Jenkins failure is my new check:

Trace invariant failure in T4010479 at ref # 93263: Chunk instruction counts are inconsistent

Yet that raw dir is gone and I can't reproduce this on the Jenkins machine: I ran the test 1000 times w/o repro; running again 10,000 times now.

@derekbruening derekbruening requested a review from bete0 October 31, 2022 14:46
@derekbruening derekbruening merged commit d831ed8 into master Oct 31, 2022
@derekbruening derekbruening deleted the i5538-chunk-boundaries branch October 31, 2022 19:52
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.

2 participants