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

Issue 164397: - Reduced the maximum capacity of a semi space from 8MB to 4MB.... (Closed)

Created:
11 years, 4 months ago by bak
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

- Reduced the maximum capacity of a semi space from 8MB to 4MB. - Changed the semi space growth policy from doubling to increasing by 50%. This slows down V8BenchmarkSuite with 1.32% but reduces the memory footprint with 8MB per V8 instance. Committed: http://code.google.com/p/v8/source/detail?r=2667

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -15 lines) Patch
M src/heap.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M src/spaces.h View 3 chunks +7 lines, -4 lines 0 comments Download
M src/spaces.cc View 2 chunks +12 lines, -7 lines 1 comment Download

Messages

Total messages: 3 (0 generated)
bak
11 years, 4 months ago (2009-08-12 13:47:15 UTC) #1
Mads Ager (chromium)
LGTM
11 years, 4 months ago (2009-08-12 13:52:03 UTC) #2
Lasse Reichstein
11 years, 4 months ago (2009-08-13 08:45:17 UTC) #3
Drive-by comment.

http://codereview.chromium.org/164397/diff/1/4
File src/spaces.cc (right):

http://codereview.chromium.org/164397/diff/1/4#newcode1079
Line 1079: int extra = capacity_/2;
Just a thought: Would it be safer to round this up to a whole number of (OS)
pages?

Powered by Google App Engine
This is Rietveld 408576698