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

Issue 261993003: base: Use DiscardableMemoryManager on MacOSX. (Closed)

Created:
6 years, 7 months ago by reveman
Modified:
6 years, 7 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org, gavinp+memory_chromium.org
Visibility:
Public.

Description

base: Use DiscardableMemoryManager on MacOSX. This limits the address space used for discardable memory on MacOSX by using the DiscardableMemoryManager for userspace eviction. Includes some minor refactoring to keep all code using DiscardableMemoryManager consistent. BUG=369246 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269640

Patch Set 1 #

Total comments: 2

Patch Set 2 : rebase and address review feedback #

Patch Set 3 : fix android build issue #

Patch Set 4 : fix initial return value of AllocateAndAcquireLock and CHECKs for allocation failure #

Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -83 lines) Patch
M base/memory/discardable_memory_android.cc View 1 2 3 chunks +21 lines, -25 lines 0 comments Download
M base/memory/discardable_memory_emulated.cc View 1 4 chunks +20 lines, -9 lines 0 comments Download
M base/memory/discardable_memory_mac.cc View 1 2 3 1 chunk +79 lines, -36 lines 0 comments Download
M base/memory/discardable_memory_manager.h View 1 chunk +2 lines, -1 line 0 comments Download
M base/memory/discardable_memory_manager.cc View 1 1 chunk +5 lines, -11 lines 0 comments Download
M base/memory/discardable_memory_manager_unittest.cc View 1 1 chunk +8 lines, -1 line 0 comments Download

Messages

Total messages: 26 (0 generated)
reveman
Looks like need this. I can move the refactor/cleanup to a separate patch if you ...
6 years, 7 months ago (2014-05-02 23:05:12 UTC) #1
Philippe
lgtm, thanks David!
6 years, 7 months ago (2014-05-05 08:29:34 UTC) #2
reveman
+willchan
6 years, 7 months ago (2014-05-05 16:41:08 UTC) #3
willchan no longer on Chromium
LGTM My one bikeshedding nit is SharedState is an extremely generic name. I haven't thought ...
6 years, 7 months ago (2014-05-05 22:39:27 UTC) #4
reveman
Not a fan of the generic SharedState name either but it at least explains to ...
6 years, 7 months ago (2014-05-06 14:26:45 UTC) #5
reveman
The CQ bit was checked by reveman@chromium.org
6 years, 7 months ago (2014-05-06 14:26:56 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/261993003/20001
6 years, 7 months ago (2014-05-06 14:27:35 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-06 17:30:46 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #2). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-06 20:32:27 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-06 20:38:10 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg on tryserver.chromium android_dbg on tryserver.chromium
6 years, 7 months ago (2014-05-06 20:38:11 UTC) #11
reveman
The CQ bit was checked by reveman@chromium.org
6 years, 7 months ago (2014-05-07 16:30:18 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/261993003/20001
6 years, 7 months ago (2014-05-07 16:33:30 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-07 18:00:34 UTC) #14
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-07 20:47:30 UTC) #15
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #2). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-07 23:34:12 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-07 23:38:41 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium
6 years, 7 months ago (2014-05-07 23:38:42 UTC) #18
reveman
The CQ bit was checked by reveman@chromium.org
6 years, 7 months ago (2014-05-08 15:12:38 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/261993003/40001
6 years, 7 months ago (2014-05-08 15:15:06 UTC) #20
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-08 18:59:15 UTC) #21
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-08 19:33:12 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_dbg_simulator/builds/150080)
6 years, 7 months ago (2014-05-08 19:33:13 UTC) #23
reveman
The CQ bit was checked by reveman@chromium.org
6 years, 7 months ago (2014-05-10 17:11:24 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/261993003/60001
6 years, 7 months ago (2014-05-10 17:11:59 UTC) #25
commit-bot: I haz the power
6 years, 7 months ago (2014-05-11 00:04:20 UTC) #26
Message was sent while issue was closed.
Change committed as 269640

Powered by Google App Engine
This is Rietveld 408576698