Skip to content

Commit 5075b09

Browse files
authored
i#7287 Cache Policies: Added a Release Note on the Refactoring. (DynamoRIO#7395)
Follow up from: DynamoRIO#7314 (comment) Added a release note describing the changes in DynamoRIO#7314.
1 parent 4ba7199 commit 5075b09

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

api/docs/release.dox

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,12 @@ changes:
132132
- Added new fields elf_path and elf_path_size to dr_memory_dump_spec_t. When
133133
dr_create_memory_dump() returns true and elf_path is not NULL, elf_path will be
134134
written with the path to the memory dump file.
135+
- Added a separate cache replacement policy object to `caching_device_t`. `init` now
136+
takes an `std::unique_ptr<cache_replacement_policy_t>` that defines the replacement
137+
policy. It can be created manually or by using `create_cache_replacement_policy`.
138+
Removed the subclasses `cache_lru_t`, `cache_fifo_t`, `tlb_lfu_t`, `tlb_plru_t` that
139+
implemented specific cache replacement policies. Added implementations for the
140+
matching policies as subclasses of `cache_replacement_policy_t`.
135141

136142
Further non-compatibility-affecting changes include:
137143
- Changed the types of `block_size`, `total_size`, `num_blocks`, to `int64_t`

0 commit comments

Comments
 (0)