forked from DynamoRIO/dynamorio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i#6893: Delete unused cacheline snoop objects. (DynamoRIO#6906)
The snoop cache tracks sharing for each cacheline accessed. The prior code never deleted these tracking structures once they were allocated, causing the tracking data to grow with every new cacheline touched. This change deletes cacheline trackers once the cacheline is no longer present in any tracked cache. It also changes the container used for tracking from a vector of bools to a set of cache IDs, to simplify snooped cache lookup and iteration. Fixes: DynamoRIO#6893
- Loading branch information
Showing
2 changed files
with
21 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters