|
Re-land architecture for cross-process memory notification suppressing
This patch re-lands https://codereview.chromium.org/1332583002/ after
it was reverted in https://codereview.chromium.org/1359873002/ because
it was causing failures on the Cast Linux buildbot.
The failures were caused by std::set operations being carried out
inside DCHECK macros, which are not evaluated on release builds:
DCHECK(memory_message_filters_.insert(filter).second);
This patch moves the std::set operations outside the macros so that
they would always be evaluated:
const bool success = memory_message_filters_.insert(filter).second;
DCHECK(success);
BUG= 516776
Committed: https://crrev.com/29bd40509cd5f705d686a97f2c91e3a75501cf2a
Cr-Commit-Position: refs/heads/master@{#350503}
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+425 lines, -2 lines) |
Patch |
 |
M |
content/browser/browser_child_process_host_impl.cc
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/browser/memory/memory_message_filter.h
|
View
|
|
1 chunk |
+35 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/browser/memory/memory_message_filter.cc
|
View
|
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/browser/memory/memory_pressure_controller.h
|
View
|
|
1 chunk |
+48 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/browser/memory/memory_pressure_controller.cc
|
View
|
1
|
1 chunk |
+73 lines, -0 lines |
2 comments
|
Download
|
 |
A |
content/browser/memory/memory_pressure_controller_browsertest.cc
|
View
|
|
1 chunk |
+131 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_process_host_impl.cc
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/child/child_thread_impl.cc
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
A |
content/child/memory/child_memory_message_filter.h
|
View
|
|
1 chunk |
+32 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/child/memory/child_memory_message_filter.cc
|
View
|
|
1 chunk |
+32 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/content_message_generator.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
content/common/memory_messages.h
|
View
|
|
1 chunk |
+22 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/content_browser.gypi
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/content_child.gypi
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/content_common.gypi
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/content_tests.gypi
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ipc/ipc_message_start.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 17 (5 generated)
|