Skip to content

Conversation

msridhar
Copy link
Member

We should only update targetCache when computing the call graph, not when reading its current state. When debugging another issue, I ran into very confusing behavior where the debugger invoked toString() on a CHACallGraph to display its state, which ended up updating targetCache (whose state I was trying to debug) by calling an accessor method.

@msridhar msridhar requested a review from liblit November 26, 2024 20:09
Copy link

Test Results

  813 files  ±0    813 suites  ±0   4h 6m 11s ⏱️ + 24m 27s
  736 tests ±0    719 ✅ ±0   17 💤 ±0  0 ❌ ±0 
5 036 runs  ±0  4 915 ✅ ±0  121 💤 ±0  0 ❌ ±0 

Results for commit bf4bbc9. ± Comparison against base commit a44aa59.

@msridhar msridhar enabled auto-merge (squash) November 26, 2024 21:03
@msridhar msridhar merged commit bc3d141 into wala:master Nov 26, 2024
11 checks passed
@msridhar msridhar deleted the fix-cha-cg-tostring branch November 26, 2024 23:22
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