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

Issue 4397004: Add 128MB limit for executable pages. (Closed)

Created:
10 years, 1 month ago by jschuh
Modified:
9 years, 6 months ago
CC:
v8-dev
Visibility:
Public.

Description

Add 128MB limit for executable pages. BUG=http://code.google.com/p/v8/issues/detail?id=925 TEST=None.

Patch Set 1 : '' #

Patch Set 2 : '' #

Total comments: 5

Patch Set 3 : '' #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -17 lines) Patch
M include/v8.h View 1 2 2 chunks +8 lines, -0 lines 0 comments Download
M src/api.cc View 1 2 2 chunks +11 lines, -3 lines 0 comments Download
M src/heap.h View 1 2 4 chunks +8 lines, -1 line 0 comments Download
M src/heap.cc View 1 2 6 chunks +17 lines, -4 lines 2 comments Download
M src/spaces.h View 1 2 3 chunks +10 lines, -2 lines 0 comments Download
M src/spaces.cc View 1 2 5 chunks +14 lines, -2 lines 2 comments Download
M test/cctest/test-mark-compact.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M test/cctest/test-spaces.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
jschuh
This is just an unrotted version of Paul's original patch that I walked through and ...
10 years, 1 month ago (2010-11-05 00:06:42 UTC) #1
Mads Ager (chromium)
http://codereview.chromium.org/4397004/diff/19001/20001 File include/v8.h (right): http://codereview.chromium.org/4397004/diff/19001/20001#newcode2497 include/v8.h:2497: total_heap_size_executable_ = size; } '}' on new line. http://codereview.chromium.org/4397004/diff/19001/20003 ...
10 years, 1 month ago (2010-11-05 07:49:01 UTC) #2
jschuh
Fixed the formatting, increased 64-bit limit to 256MB, and collapsed the three executable checks into ...
10 years, 1 month ago (2010-11-10 00:44:58 UTC) #3
Mads Ager (chromium)
LGTM, I'll take care of these nits and land. http://codereview.chromium.org/4397004/diff/42002/src/heap.cc File src/heap.cc (right): http://codereview.chromium.org/4397004/diff/42002/src/heap.cc#newcode4348 src/heap.cc:4348: ...
10 years, 1 month ago (2010-11-10 08:14:24 UTC) #4
Mads Ager (chromium)
http://codereview.chromium.org/4397004/diff/42002/src/spaces.cc File src/spaces.cc (right): http://codereview.chromium.org/4397004/diff/42002/src/spaces.cc#newcode373 src/spaces.cc:373: size_executable_ += static_cast<int>(*allocated); This only get's updated when CodeRange::exists(). ...
10 years, 1 month ago (2010-11-10 08:23:26 UTC) #5
Mads Ager (chromium)
http://codereview.chromium.org/4397004/diff/42002/src/heap.cc File src/heap.cc (right): http://codereview.chromium.org/4397004/diff/42002/src/heap.cc#newcode4367 src/heap.cc:4367: return ConfigureHeap(FLAG_max_new_space_size / 2, FLAG_max_old_space_size, Removing the units here ...
10 years, 1 month ago (2010-11-10 08:32:29 UTC) #6
Mads Ager (chromium)
10 years, 1 month ago (2010-11-10 08:39:37 UTC) #7
Issues addressed and landed in r5799.

Powered by Google App Engine
This is Rietveld 408576698