Revert "base/allocator: Report the size of mapped PageAllocator space when crashing."
This reverts commit 402cee70. Reason for revert: PageAllocatorTest.MappedPagesAccounting is failing on lollipop; see https://ci.chromium.org/p/chromium/builders/ci/Lollipop%20Phone%20Tester/25868 and https://test-results.appspot.com/dashboards/flakiness_dashboard.html#testType=base_unittests&tests=PageAllocatorTest.MappedPagesAccounting Original change's description: > base/allocator: Report the size of mapped PageAllocator space when crashing. > > PartitionAllocator can occupy a lot of address space, as freed pages for > normal buckets are never unmapped, and these are not shared across > buckets. This is a known issue, tracked in the linked bug. > > However the reporting currently in place only looks at a single > partition when reporting that an OOM is likely due to too many mapped > pages. It does not look at all PageAllocator allocations. This commit > adds a crash key reporting the total amount of mapped PageAllocator > pages to crash reports, to allow distinguishing between "true" OOM and > address space exhaustion. > > For instance, on Windows 32, an address space exhaustion crash would > happen with a reasonable committed set, remaining system commit limit, > and a large amount of mapped pages. All these data points are available > in crash reports, except for the last one, which this commit adds. > > Bug: 421387 > Change-Id: If3eac64489b61297cb5da6da328cfc70fecc4c8c > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2264438 > Reviewed-by: Kentaro Hara <haraken@chromium.org> > Commit-Queue: Benoit L <lizeb@chromium.org> > Cr-Commit-Position: refs/heads/master@{#782459} TBR=haraken@chromium.org,lizeb@chromium.org Change-Id: Ib18a3623e09c3c278f355ffd4cc63aee47aeacce No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 421387 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2267425Reviewed-by:Patrick Noland <pnoland@chromium.org> Commit-Queue: Patrick Noland <pnoland@chromium.org> Cr-Commit-Position: refs/heads/master@{#782528}
Showing
Please register or sign in to comment