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

Issue 655003003: base: Add discardable memory test that check behavior when creating enough instances that could use… (Closed)

Created:
6 years, 2 months ago by reveman
Modified:
6 years, 2 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org, gavinp+memory_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

base: Add discardable memory test that check behavior when creating enough instances that could use up a 32-bit address space. BUG=422953 TEST=base_unittests --gtest_filter=DiscardableMemoryTests/DiscardableMemoryTest.AddressSpace/* Committed: https://crrev.com/b2dd79c61e4fc3ffe8fc6226576f2a5ddd5ec61b Cr-Commit-Position: refs/heads/master@{#300028}

Patch Set 1 #

Total comments: 4

Patch Set 2 : rebase on 659143002 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -0 lines) Patch
M base/memory/discardable_memory_unittest.cc View 1 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
reveman
It's a bit nasty to churn through 4GB of discardable memory to test this but ...
6 years, 2 months ago (2014-10-15 20:47:02 UTC) #2
Avi (use Gerrit)
I think it's an interesting test, and look forward to seeing how things behave. LGTM ...
6 years, 2 months ago (2014-10-15 21:11:27 UTC) #3
reveman
+danakj https://codereview.chromium.org/655003003/diff/1/base/memory/discardable_memory_unittest.cc File base/memory/discardable_memory_unittest.cc (right): https://codereview.chromium.org/655003003/diff/1/base/memory/discardable_memory_unittest.cc#newcode110 base/memory/discardable_memory_unittest.cc:110: const size_t kNumberOfInstances = 1024 + 1; // ...
6 years, 2 months ago (2014-10-16 20:50:34 UTC) #5
danakj
LGTM
6 years, 2 months ago (2014-10-16 20:52:08 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/655003003/20001
6 years, 2 months ago (2014-10-16 22:32:58 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
6 years, 2 months ago (2014-10-17 00:38:36 UTC) #9
commit-bot: I haz the power
6 years, 2 months ago (2014-10-17 00:40:24 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/b2dd79c61e4fc3ffe8fc6226576f2a5ddd5ec61b
Cr-Commit-Position: refs/heads/master@{#300028}

Powered by Google App Engine
This is Rietveld 408576698