Descriptioncontent: Add DeletedDiscardableSharedMemory IPC.
This provides a mechanism for child processes to notify the
browser process that a discardable memory segment has been
deleted. This reduces the chance of the browser unnecessarily
purging a memory segment that is still useful and it makes
total discardable memory usage stats in the browser process
better match current usage by all child processes.
BUG=
TEST=content_unittests --gtest_filter=DiscardableSharedMemoryHeapTest.DeletedCallback, content_browsertests --gtest_filter=ChildDiscardableSharedMemoryManagerBrowserTest.ReleaseFreeMemory
Committed: https://crrev.com/1500e1a7a2445bb9bddc9e492db6c988dfbc815f
Cr-Commit-Position: refs/heads/master@{#320848}
Patch Set 1 #Patch Set 2 : avoid updating trace counter and crash key unless bytes allocated changed #
Total comments: 2
Patch Set 3 : int32 -> int32_t #Patch Set 4 : rebase #Messages
Total messages: 13 (3 generated)
|