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

Issue 1107963002: Add MemoryWedge to ios/. (Closed)

Created:
5 years, 8 months ago by lpromero
Modified:
5 years, 7 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add MemoryWedge to ios/. A MemoryWedge is a single chunk of memory allocated. One passes it a size and the wedge is added to the resident memory used by the current app. Furthermore, it adds an experimental flag for iOS based on a variation param, to drive the size of the wedge that could be inserted for a given run. BUG=TBD R=stuartmorgan,asvitkine Committed: https://crrev.com/68537275ee0c46477455e14127fd61c0988e60f9 Cr-Commit-Position: refs/heads/master@{#327471}

Patch Set 1 #

Patch Set 2 : Synced #

Total comments: 14

Patch Set 3 : Review feedback #

Total comments: 6

Patch Set 4 : Fix build #

Patch Set 5 : Review feedback #

Total comments: 4

Patch Set 6 : Review feedback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+274 lines, -0 lines) Patch
M ios/chrome/browser/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M ios/chrome/browser/chrome_switches.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ios/chrome/browser/chrome_switches.cc View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M ios/chrome/browser/experimental_flags.h View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M ios/chrome/browser/experimental_flags.mm View 1 2 3 4 2 chunks +26 lines, -0 lines 0 comments Download
A ios/chrome/browser/experimental_flags_unittest.mm View 1 2 3 1 chunk +95 lines, -0 lines 0 comments Download
A ios/chrome/browser/memory/memory_wedge.h View 1 2 3 4 1 chunk +21 lines, -0 lines 0 comments Download
A ios/chrome/browser/memory/memory_wedge.cc View 1 2 3 4 1 chunk +43 lines, -0 lines 0 comments Download
A ios/chrome/browser/memory/memory_wedge_unittest.cc View 1 2 3 4 1 chunk +73 lines, -0 lines 0 comments Download
M ios/chrome/ios_chrome.gyp View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ios/chrome/ios_chrome_tests.gyp View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (9 generated)
lpromero
5 years, 8 months ago (2015-04-27 13:27:13 UTC) #1
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1107963002/1
5 years, 7 months ago (2015-04-28 11:32:03 UTC) #3
commit-bot: I haz the power
Dry run: No LGTM from a valid reviewer yet. Only full committers are accepted. Even ...
5 years, 7 months ago (2015-04-28 11:32:05 UTC) #5
Alexei Svitkine (slow)
Looks good overall, a few style comments. https://codereview.chromium.org/1107963002/diff/20001/ios/chrome/browser/experimental_flags.h File ios/chrome/browser/experimental_flags.h (right): https://codereview.chromium.org/1107963002/diff/20001/ios/chrome/browser/experimental_flags.h#newcode18 ios/chrome/browser/experimental_flags.h:18: unsigned MemoryWedgeSizeInMB(); ...
5 years, 7 months ago (2015-04-28 16:52:58 UTC) #7
lpromero
Addressed feeedback. https://codereview.chromium.org/1107963002/diff/20001/ios/chrome/browser/experimental_flags.h File ios/chrome/browser/experimental_flags.h (right): https://codereview.chromium.org/1107963002/diff/20001/ios/chrome/browser/experimental_flags.h#newcode18 ios/chrome/browser/experimental_flags.h:18: unsigned MemoryWedgeSizeInMB(); On 2015/04/28 16:52:58, Alexei Svitkine ...
5 years, 7 months ago (2015-04-28 18:12:46 UTC) #8
Alexei Svitkine (slow)
lgtm % remaining comments https://codereview.chromium.org/1107963002/diff/40001/ios/chrome/browser/experimental_flags.mm File ios/chrome/browser/experimental_flags.mm (right): https://codereview.chromium.org/1107963002/diff/40001/ios/chrome/browser/experimental_flags.mm#newcode33 ios/chrome/browser/experimental_flags.mm:33: // Otherwise, get from Finch. ...
5 years, 7 months ago (2015-04-28 18:43:40 UTC) #10
lpromero
Ping stuartmorgan. This is ready to be pushed. https://codereview.chromium.org/1107963002/diff/40001/ios/chrome/browser/experimental_flags.mm File ios/chrome/browser/experimental_flags.mm (right): https://codereview.chromium.org/1107963002/diff/40001/ios/chrome/browser/experimental_flags.mm#newcode33 ios/chrome/browser/experimental_flags.mm:33: // ...
5 years, 7 months ago (2015-04-28 22:01:46 UTC) #11
stuartmorgan
LGTM with nits, but please fix the CL description: this does not add a memory ...
5 years, 7 months ago (2015-04-28 22:52:10 UTC) #15
lpromero
https://codereview.chromium.org/1107963002/diff/80001/ios/chrome/browser/chrome_switches.cc File ios/chrome/browser/chrome_switches.cc (right): https://codereview.chromium.org/1107963002/diff/80001/ios/chrome/browser/chrome_switches.cc#newcode18 ios/chrome/browser/chrome_switches.cc:18: // Defines the value of the memory wedge to ...
5 years, 7 months ago (2015-04-29 08:51:49 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1107963002/40002
5 years, 7 months ago (2015-04-29 11:07:05 UTC) #19
commit-bot: I haz the power
Committed patchset #6 (id:40002)
5 years, 7 months ago (2015-04-29 11:16:08 UTC) #20
commit-bot: I haz the power
5 years, 7 months ago (2015-04-29 11:16:56 UTC) #21
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/68537275ee0c46477455e14127fd61c0988e60f9
Cr-Commit-Position: refs/heads/master@{#327471}

Powered by Google App Engine
This is Rietveld 408576698