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

Issue 2251853005: Reland: Add MemoryCoordinatorClient (Closed)

Created:
4 years, 4 months ago by bashi
Modified:
4 years, 4 months ago
Reviewers:
haraken, keishi, esprehn
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, tyoshino+watch_chromium.org, eae+blinkwatch, sof, jam, blink-reviews-dom_chromium.org, dglazkov+blink, darin-cc_chromium.org, gavinp+loader_chromium.org, blink-reviews, loading-reviews+fetch_chromium.org, kinuko+watch, Nate Chapin, blink-reviews-api_chromium.org, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland: Add MemoryCoordinatorClient Make MemoryCoordinator garbage collected to make sure that MemoryCoordinator::trace() is called. Garbage collected MemoryCoordinatorClient will be removed from |m_clients|. Original description: Also move MemoryCoordinator from core/dom to platform/. This is a preparation for experimenting purge and suspend [1,2]. [1] https://docs.google.com/document/d/1EgLimgxWK5DGhptnNVbEGSvVn6Q609ZJaBkLjEPRJvI/edit [2] https://codereview.chromium.org/2130683002/ TBR=esprehn@chromium.org,haraken@chromium.org BUG=638274 Committed: https://crrev.com/5f4c7892122d68b2588ae2bd804fc2dc75e15596 Cr-Commit-Position: refs/heads/master@{#412966}

Patch Set 1 #

Total comments: 6

Patch Set 2 : comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+149 lines, -121 lines) Patch
M content/renderer/render_thread_impl.cc View 2 chunks +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/core.gypi View 1 chunk +0 lines, -2 lines 0 comments Download
D third_party/WebKit/Source/core/dom/MemoryCoordinator.h View 1 chunk +0 lines, -30 lines 0 comments Download
D third_party/WebKit/Source/core/dom/MemoryCoordinator.cpp View 1 chunk +0 lines, -43 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/MemoryCache.h View 3 chunks +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/fetch/MemoryCache.cpp View 3 chunks +8 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/platform/MemoryCoordinator.h View 1 1 chunk +53 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/platform/MemoryCoordinator.cpp View 1 1 chunk +66 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/blink_platform.gypi View 2 chunks +3 lines, -0 lines 0 comments Download
A + third_party/WebKit/Source/platform/exported/WebMemoryCoordinator.cpp View 2 chunks +7 lines, -3 lines 0 comments Download
D third_party/WebKit/Source/web/WebMemoryCoordinator.cpp View 1 chunk +0 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/web/web.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/public/blink_headers.gypi View 2 chunks +1 line, -1 line 0 comments Download
A + third_party/WebKit/public/platform/WebMemoryCoordinator.h View 1 chunk +6 lines, -1 line 0 comments Download
D third_party/WebKit/public/web/WebMemoryCoordinator.h View 1 chunk +0 lines, -21 lines 0 comments Download

Messages

Total messages: 21 (14 generated)
bashi
PTAL This reland includes https://codereview.chromium.org/2251643002/. The original CL was reverted due to null de-reference for ...
4 years, 4 months ago (2016-08-17 23:45:52 UTC) #4
haraken
LGTM
4 years, 4 months ago (2016-08-17 23:46:46 UTC) #5
sof
https://codereview.chromium.org/2251853005/diff/1/third_party/WebKit/Source/platform/MemoryCoordinator.cpp File third_party/WebKit/Source/platform/MemoryCoordinator.cpp (right): https://codereview.chromium.org/2251853005/diff/1/third_party/WebKit/Source/platform/MemoryCoordinator.cpp#newcode10 third_party/WebKit/Source/platform/MemoryCoordinator.cpp:10: #include "platform/heap/Heap.h" unnecessary. https://codereview.chromium.org/2251853005/diff/1/third_party/WebKit/Source/platform/MemoryCoordinator.cpp#newcode15 third_party/WebKit/Source/platform/MemoryCoordinator.cpp:15: DEFINE_TRACE(MemoryCoordinatorClient) You don't need ...
4 years, 4 months ago (2016-08-18 05:51:05 UTC) #8
bashi
https://codereview.chromium.org/2251853005/diff/1/third_party/WebKit/Source/platform/MemoryCoordinator.cpp File third_party/WebKit/Source/platform/MemoryCoordinator.cpp (right): https://codereview.chromium.org/2251853005/diff/1/third_party/WebKit/Source/platform/MemoryCoordinator.cpp#newcode10 third_party/WebKit/Source/platform/MemoryCoordinator.cpp:10: #include "platform/heap/Heap.h" On 2016/08/18 05:51:05, sof wrote: > unnecessary. ...
4 years, 4 months ago (2016-08-18 06:49:07 UTC) #9
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/2251853005/20001
4 years, 4 months ago (2016-08-18 23:00:33 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-18 23:06:28 UTC) #19
commit-bot: I haz the power
4 years, 4 months ago (2016-08-18 23:24:43 UTC) #21
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/5f4c7892122d68b2588ae2bd804fc2dc75e15596
Cr-Commit-Position: refs/heads/master@{#412966}

Powered by Google App Engine
This is Rietveld 408576698