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

Issue 300036: Allow resource constraints to specify the max committed new space size... (Closed)

Created:
11 years, 2 months ago by Mads Ager (chromium)
Modified:
9 years, 7 months ago
Reviewers:
Erik Corry
CC:
v8-dev
Visibility:
Public.

Description

Allow resource constraints to specify the max committed new space size when using snapshots. The alignment of new space has to match the alignment in the snapshot, but the max committed amount of memory does not. For now, we assume that the default semispace size is always used in a snapshot. Committed: http://code.google.com/p/v8/source/detail?r=3106

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 7

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -62 lines) Patch
M src/api.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M src/flag-definitions.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M src/heap.h View 1 2 3 chunks +10 lines, -10 lines 1 comment Download
M src/heap.cc View 1 2 7 chunks +51 lines, -28 lines 0 comments Download
M src/ia32/assembler-ia32.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/spaces.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M src/x64/assembler-x64.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-mark-compact.cc View 2 chunks +0 lines, -5 lines 0 comments Download
M test/cctest/test-spaces.cc View 3 chunks +10 lines, -10 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Mads Ager (chromium)
11 years, 2 months ago (2009-10-21 10:47:16 UTC) #1
Erik Corry
The names chosen for the various variables confuse me. Apart from that it LGTM. http://codereview.chromium.org/300036/diff/3001/3005 ...
11 years, 2 months ago (2009-10-21 11:17:08 UTC) #2
Mads Ager (chromium)
The variable names in this code is indeed confusing. I changed the names and I ...
11 years, 2 months ago (2009-10-21 13:26:02 UTC) #3
Erik Corry
11 years, 2 months ago (2009-10-21 13:41:49 UTC) #4
LGTM!

http://codereview.chromium.org/300036/diff/6001/6007
File src/heap.h (right):

http://codereview.chromium.org/300036/diff/6001/6007#newcode252
Line 252: return 4 * reserved_semispace_size_ + max_old_generation_size_;
The 4 here probably deserves a comment.

Powered by Google App Engine
This is Rietveld 408576698