diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2018-04-02 02:01:50 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-02 02:01:50 -0400 |
commit | 8f226f841bd5e1ab412ff2cd8417919b222f7555 (patch) | |
tree | 66bf9c394615c906545fc37a88541f698ddf0bae /components/layout/construct.rs | |
parent | 3c59a1f3532231eb96991a4cd1d2053b7f6fb935 (diff) | |
parent | af445a357d0429f68cad1bf12982c81e3a122bad (diff) | |
download | servo-8f226f841bd5e1ab412ff2cd8417919b222f7555.tar.gz servo-8f226f841bd5e1ab412ff2cd8417919b222f7555.zip |
Auto merge of #20391 - modal17:iss19251, r=jdm
Measure cache memory usage
<!-- Please describe your changes on the following line: -->
- [X] make the memory cache data structure derive MallocSizeOf
- [X] add a new IpcReceiver argument to ResourceChannelManager::start that is used for listening to messages from the memory profiler (it must correspond with this sender)
- [X] use run_with_memory_reporting in the network code to register a memory reporter for that thread
- [X] when a message from the memory profiler arrives, create a report that includes that size of the public and private http caches
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [x] These changes fix #19251 (github issue number if applicable).
<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____
<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20391)
<!-- Reviewable:end -->
Diffstat (limited to 'components/layout/construct.rs')
0 files changed, 0 insertions, 0 deletions