Skip to content

Avoid repeated cache fills for unreadable memory maps - #352

Open
pablogsal wants to merge 1 commit into
mainfrom
avoid-repeated-memory-cache-fills
Open

Avoid repeated cache fills for unreadable memory maps#352
pablogsal wants to merge 1 commit into
mainfrom
avoid-repeated-memory-cache-fills

Conversation

@pablogsal

@pablogsal pablogsal commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

ProcessMemoryManager retries whole-map cache fills on every access when a mapping contains an unreadable page. Remember mappings whose cache fill fails and read requested ranges directly on subsequent accesses, avoiding repeated failed reads and temporary allocations.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.73%. Comparing base (e8e9390) to head (ca301df).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #352      +/-   ##
==========================================
+ Coverage   77.56%   77.73%   +0.16%     
==========================================
  Files          57       58       +1     
  Lines        6611     6652      +41     
  Branches      630      631       +1     
==========================================
+ Hits         5128     5171      +43     
+ Misses       1483     1481       -2     
Flag Coverage Δ
cpp 77.73% <100.00%> (+0.16%) ⬆️
python 77.73% <100.00%> (+0.16%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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