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

Issue 7020020: Lower heap size limits on systems that are short of virtual memory. (Closed)

Created:
9 years, 6 months ago by Erik Corry
Modified:
9 years, 6 months ago
Reviewers:
Kasper Lund
CC:
v8-dev
Visibility:
Public.

Description

Lower heap size limits on systems that are short of virtual memory. Committed: http://code.google.com/p/v8/source/detail?r=8133

Patch Set 1 #

Total comments: 1

Patch Set 2 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -0 lines) Patch
M src/heap.cc View 1 1 chunk +23 lines, -0 lines 1 comment Download
M src/platform.h View 1 chunk +4 lines, -0 lines 0 comments Download
M src/platform-posix.cc View 1 chunk +12 lines, -0 lines 0 comments Download
M src/platform-win32.cc View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Erik Corry
9 years, 6 months ago (2011-06-01 08:17:08 UTC) #1
Kasper Lund
http://codereview.chromium.org/7020020/diff/1/src/heap.cc File src/heap.cc (right): http://codereview.chromium.org/7020020/diff/1/src/heap.cc#newcode158 src/heap.cc:158: if (code_range_size_ > 0) { It would be nice ...
9 years, 6 months ago (2011-06-01 08:23:49 UTC) #2
Kasper Lund
9 years, 6 months ago (2011-06-01 08:46:04 UTC) #3
LGTM.

http://codereview.chromium.org/7020020/diff/4002/src/heap.cc
File src/heap.cc (right):

http://codereview.chromium.org/7020020/diff/4002/src/heap.cc#newcode162
src/heap.cc:162: if (code_range_size_ > 0) {
Maybe introduce two local variables, half and quarter, and use them instead of
the repeated max_virtual >> {1,2}.

Powered by Google App Engine
This is Rietveld 408576698