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

Issue 24978006: Tweak default max heap size constants for platforms with swap. (Closed)

Created:
7 years, 2 months ago by rmcilroy
Modified:
7 years, 2 months ago
CC:
v8-dev
Visibility:
Public.

Description

Tweak default max heap size constants for platforms with swap. Configure platforms with swap memory with larger heap size by default. Also introduce an additional "bucket" between 1GB-2GBs. BUG=None R=hpayer@chromium.org, jkummerow@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=17081

Patch Set 1 #

Total comments: 9

Patch Set 2 : Rework if/else branches #

Patch Set 3 : Change old_size_space to 256MB for 756-1GB systems #

Patch Set 4 : fix comment typo #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -10 lines) Patch
M src/defaults.cc View 1 2 3 3 chunks +22 lines, -10 lines 4 comments Download

Messages

Total messages: 10 (0 generated)
rmcilroy
As discussed with Jakob, this enables platforms with swap to be "one bucket up" in ...
7 years, 2 months ago (2013-09-27 13:30:15 UTC) #1
Hannes Payer (out of office)
https://codereview.chromium.org/24978006/diff/1/src/defaults.cc File src/defaults.cc (right): https://codereview.chromium.org/24978006/diff/1/src/defaults.cc#newcode46 src/defaults.cc:46: // be a multiple of Page::kPageSize. You pump up ...
7 years, 2 months ago (2013-09-27 13:47:50 UTC) #2
Jakob Kummerow
https://codereview.chromium.org/24978006/diff/1/src/defaults.cc File src/defaults.cc (right): https://codereview.chromium.org/24978006/diff/1/src/defaults.cc#newcode50 src/defaults.cc:50: constraints->set_max_old_space_size(768 * lump_of_memory); Let's leave this at 700. There's ...
7 years, 2 months ago (2013-09-27 13:52:12 UTC) #3
rmcilroy
I've re-structured the if/else branch to be more in line with my original intention (as ...
7 years, 2 months ago (2013-10-01 13:34:17 UTC) #4
Jakob Kummerow
lgtm
7 years, 2 months ago (2013-10-01 14:02:12 UTC) #5
rmcilroy
On 2013/10/01 14:02:12, Jakob wrote: > lgtm Hannes, do you have any comments?
7 years, 2 months ago (2013-10-02 12:44:44 UTC) #6
Hannes Payer (out of office)
LGTM, with comments. https://codereview.chromium.org/24978006/diff/1/src/globals.h File src/globals.h (right): https://codereview.chromium.org/24978006/diff/1/src/globals.h#newcode286 src/globals.h:286: #if V8_OS_ANDROID On 2013/10/01 13:34:17, rmcilroy ...
7 years, 2 months ago (2013-10-02 12:59:17 UTC) #7
rmcilroy
Could someone land this when convenient please. https://codereview.chromium.org/24978006/diff/15001/src/defaults.cc File src/defaults.cc (right): https://codereview.chromium.org/24978006/diff/15001/src/defaults.cc#newcode55 src/defaults.cc:55: if (physical_memory ...
7 years, 2 months ago (2013-10-02 13:05:56 UTC) #8
Hannes Payer (out of office)
Committed patchset #4 manually as r17081 (presubmit successful).
7 years, 2 months ago (2013-10-02 13:38:14 UTC) #9
Hannes Payer (out of office)
7 years, 2 months ago (2013-10-02 13:38:20 UTC) #10
Message was sent while issue was closed.
OK, I will do that.

Powered by Google App Engine
This is Rietveld 408576698