Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(246)

Issue 2548423002: Hosting the discardable memory service in the mus process (Closed)

Created:
4 years ago by Peng
Modified:
4 years ago
CC:
chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, jam, nasko+codewatch_chromium.org, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Hosting the discardable memory service in the mus process. With mus+ash, we host the discardable memory service in the mus process. For classic chrome, we will run the discardable memory service in the browser process. BUG=654678 Committed: https://crrev.com/d6843e447d292f253b427d04022c4bc562d7aaab Cr-Commit-Position: refs/heads/master@{#439342}

Patch Set 1 #

Patch Set 2 : Update #

Patch Set 3 : WIP #

Total comments: 6

Patch Set 4 : Fix review issues. #

Patch Set 5 : Update #

Total comments: 5

Patch Set 6 : rebase #

Patch Set 7 : Fix a test failure #

Patch Set 8 : Fix compile issue #

Patch Set 9 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -22 lines) Patch
M components/discardable_memory/client/client_discardable_shared_memory_manager.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/browser_main_loop.cc View 1 2 3 4 5 6 7 8 1 chunk +12 lines, -8 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 7 8 2 chunks +9 lines, -4 lines 0 comments Download
M content/ppapi_plugin/DEPS View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/ppapi_plugin/ppapi_thread.cc View 1 2 3 4 4 chunks +19 lines, -2 lines 0 comments Download
M content/public/app/mojo/content_plugin_manifest.json View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M content/public/app/mojo/content_renderer_manifest.json View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 5 6 7 8 3 chunks +16 lines, -5 lines 0 comments Download
M services/ui/BUILD.gn View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M services/ui/DEPS View 1 1 chunk +2 lines, -0 lines 0 comments Download
M services/ui/manifest.json View 1 2 3 4 5 3 chunks +5 lines, -0 lines 0 comments Download
M services/ui/service.h View 1 2 3 4 5 3 chunks +9 lines, -0 lines 0 comments Download
M services/ui/service.cc View 1 2 3 4 5 4 chunks +13 lines, -0 lines 0 comments Download
M ui/views/mus/BUILD.gn View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M ui/views/mus/DEPS View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/mus/mus_client.h View 1 2 3 4 5 6 7 8 3 chunks +10 lines, -0 lines 0 comments Download
M ui/views/mus/mus_client.cc View 1 2 3 4 5 6 7 8 2 chunks +21 lines, -0 lines 0 comments Download

Messages

Total messages: 66 (34 generated)
Peng
Hi Sadrul, Could you please take a look changes in ui/views and maybe changes in ...
4 years ago (2016-12-06 20:47:53 UTC) #11
Fady Samuel
Drive-by Question (sadrul? rjkroege?): Should discardable shared memory manager service live in Mus-Gpu or Mus-Ws? ...
4 years ago (2016-12-07 14:07:58 UTC) #13
Peng
On 2016/12/07 14:07:58, Fady Samuel wrote: > Drive-by Question (sadrul? rjkroege?): Should discardable shared memory ...
4 years ago (2016-12-07 16:07:31 UTC) #14
sadrul
+reveman@ On 2016/12/07 14:07:58, Fady Samuel wrote: > Drive-by Question (sadrul? rjkroege?): Should discardable shared ...
4 years ago (2016-12-07 16:11:41 UTC) #16
reveman
On 2016/12/07 at 16:11:41, sadrul wrote: > +reveman@ > > On 2016/12/07 14:07:58, Fady Samuel ...
4 years ago (2016-12-07 16:34:56 UTC) #17
sadrul
https://codereview.chromium.org/2548423002/diff/40001/content/public/app/mojo/content_renderer_manifest.json File content/public/app/mojo/content_renderer_manifest.json (right): https://codereview.chromium.org/2548423002/diff/40001/content/public/app/mojo/content_renderer_manifest.json#newcode24 content/public/app/mojo/content_renderer_manifest.json:24: "ui:discardable_memory" sort https://codereview.chromium.org/2548423002/diff/40001/content/renderer/render_thread_impl.cc File content/renderer/render_thread_impl.cc (right): https://codereview.chromium.org/2548423002/diff/40001/content/renderer/render_thread_impl.cc#newcode896 content/renderer/render_thread_impl.cc:896: if ...
4 years ago (2016-12-07 17:56:40 UTC) #18
Peng
https://codereview.chromium.org/2548423002/diff/40001/content/public/app/mojo/content_renderer_manifest.json File content/public/app/mojo/content_renderer_manifest.json (right): https://codereview.chromium.org/2548423002/diff/40001/content/public/app/mojo/content_renderer_manifest.json#newcode24 content/public/app/mojo/content_renderer_manifest.json:24: "ui:discardable_memory" On 2016/12/07 17:56:40, sadrul wrote: > sort Done. ...
4 years ago (2016-12-07 19:02:05 UTC) #19
Peng
HI Sadrul, I have updated this CL. PTAL. Thanks.
4 years ago (2016-12-09 16:20:27 UTC) #20
sadrul
lgtm
4 years ago (2016-12-14 05:07:44 UTC) #21
Peng
+sky@ for browser/* and services/ui/* Hi Scott, PTAL. Thanks.
4 years ago (2016-12-14 17:15:21 UTC) #23
Peng
Hi David, PTAL. Thanks.
4 years ago (2016-12-14 17:20:51 UTC) #24
reveman
lgtm
4 years ago (2016-12-14 17:43:27 UTC) #25
Peng
+dcheng@ for content/* Hi Danial, PTAL. Thanks.
4 years ago (2016-12-14 18:05:34 UTC) #27
Peng
On 2016/12/14 18:05:34, Peng wrote: > +dcheng@ for content/* > > Hi Danial, PTAL. Thanks. ...
4 years ago (2016-12-15 19:13:22 UTC) #28
sky
https://codereview.chromium.org/2548423002/diff/80001/services/ui/service.cc File services/ui/service.cc (right): https://codereview.chromium.org/2548423002/diff/80001/services/ui/service.cc#newcode202 services/ui/service.cc:202: discardable_memory::DiscardableSharedMemoryManager::CreateInstance(); Is there a corresponding destroy?
4 years ago (2016-12-15 20:40:08 UTC) #29
Peng
https://codereview.chromium.org/2548423002/diff/80001/services/ui/service.cc File services/ui/service.cc (right): https://codereview.chromium.org/2548423002/diff/80001/services/ui/service.cc#newcode202 services/ui/service.cc:202: discardable_memory::DiscardableSharedMemoryManager::CreateInstance(); On 2016/12/15 20:40:08, sky wrote: > Is there ...
4 years ago (2016-12-15 20:53:23 UTC) #30
sky
Why wouldn't you want to? Not shutting down things can make for hard to write ...
4 years ago (2016-12-15 21:10:34 UTC) #31
Peng
https://codereview.chromium.org/2548423002/diff/80001/services/ui/service.cc File services/ui/service.cc (right): https://codereview.chromium.org/2548423002/diff/80001/services/ui/service.cc#newcode202 services/ui/service.cc:202: discardable_memory::DiscardableSharedMemoryManager::CreateInstance(); On 2016/12/15 20:40:08, sky wrote: > Is there ...
4 years ago (2016-12-15 22:06:32 UTC) #32
sky
Ok, fair enough. LGTM
4 years ago (2016-12-15 22:09:30 UTC) #33
reveman
On 2016/12/15 at 22:06:32, penghuang wrote: > https://codereview.chromium.org/2548423002/diff/80001/services/ui/service.cc > File services/ui/service.cc (right): > > https://codereview.chromium.org/2548423002/diff/80001/services/ui/service.cc#newcode202 ...
4 years ago (2016-12-15 22:16:17 UTC) #34
dcheng
manifest changes LGTM with a random thought thrown in (no action necessary, just something to ...
4 years ago (2016-12-16 09:13:02 UTC) #35
Peng
On 2016/12/15 22:16:17, reveman wrote: > On 2016/12/15 at 22:06:32, penghuang wrote: > > https://codereview.chromium.org/2548423002/diff/80001/services/ui/service.cc ...
4 years ago (2016-12-16 14:58:47 UTC) #36
Peng
https://codereview.chromium.org/2548423002/diff/80001/ui/views/mus/mus_client.cc File ui/views/mus/mus_client.cc (right): https://codereview.chromium.org/2548423002/diff/80001/ui/views/mus/mus_client.cc#newcode181 ui/views/mus/mus_client.cc:181: if (!io_task_runner) { On 2016/12/16 09:13:01, dcheng wrote: > ...
4 years ago (2016-12-16 15:03:10 UTC) #37
Peng
+avi@ for content/* Hi Avi, PTAL. Thanks.
4 years ago (2016-12-16 15:03:47 UTC) #39
Avi (use Gerrit)
lgtm stamp
4 years ago (2016-12-16 15:55:02 UTC) #46
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2548423002/120001
4 years ago (2016-12-16 16:50:47 UTC) #51
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/253125) chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
4 years ago (2016-12-16 17:06:25 UTC) #53
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2548423002/140001
4 years ago (2016-12-16 19:39:41 UTC) #56
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/334976) linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
4 years ago (2016-12-16 22:38:22 UTC) #58
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2548423002/160001
4 years ago (2016-12-17 12:11:04 UTC) #61
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years ago (2016-12-17 13:57:53 UTC) #64
commit-bot: I haz the power
4 years ago (2016-12-17 14:02:31 UTC) #66
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/d6843e447d292f253b427d04022c4bc562d7aaab
Cr-Commit-Position: refs/heads/master@{#439342}

Powered by Google App Engine
This is Rietveld 408576698