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

Issue 3161015: Tracks the usage of executable memory allocated by V8 and exposes the value t... (Closed)

Created:
10 years, 4 months ago by Valoo
Modified:
9 years, 4 months ago
CC:
v8-dev, chromium-reviews
Visibility:
Public.

Description

Tracks the maximum usage of executable memory allocated by V8 and allows the histogram data to be gathered and reported. This patch is contains only the usage tracking logic from 3030048 (already LGTM'd). It does not implement the RWX Limit. BUG=52122 TEST=Check the V8.ExecutableMemoryMax histogram in the Chrome about:histograms page Committed: http://code.google.com/p/v8/source/detail?r=5299

Patch Set 1 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -21 lines) Patch
M src/spaces.h View 7 chunks +20 lines, -6 lines 0 comments Download
M src/spaces.cc View 14 chunks +41 lines, -7 lines 2 comments Download
M src/spaces-inl.h View 3 chunks +18 lines, -8 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Valoo
It looks like codereview never sent emails to at least some of the reviewers, so ...
10 years, 4 months ago (2010-08-17 17:13:37 UTC) #1
Søren Thygesen Gjesse
LGTM http://codereview.chromium.org/3161015/diff/10002/37005 File src/spaces.cc (right): http://codereview.chromium.org/3161015/diff/10002/37005#newcode296 src/spaces.cc:296: #if defined(V8_REPORT_EXECUTABLE_MEMORY_USAGE) I don't think we need this ...
10 years, 4 months ago (2010-08-18 08:20:01 UTC) #2
Søren Thygesen Gjesse
Without this change most of the tests crashed during heap teardown. http://codereview.chromium.org/3161015/diff/10002/37005 File src/spaces.cc (right): ...
10 years, 4 months ago (2010-08-18 09:36:26 UTC) #3
Søren Thygesen Gjesse
10 years, 4 months ago (2010-08-18 10:46:37 UTC) #4
On 2010/08/18 09:36:26, Søren Gjesse wrote:
> Without this change most of the tests crashed during heap teardown.
> 
> http://codereview.chromium.org/3161015/diff/10002/37005
> File src/spaces.cc (right):
> 
> http://codereview.chromium.org/3161015/diff/10002/37005#newcode2617
> src/spaces.cc:2617: Page* page = Page::FromAddress(chunk->address());
> This line should be:
> 
> Page* page = Page::FromAddress(RoundUp(current->address(), Page::kPageSize));

Committed as r5299 with suggested changes above applied.

Closing issue.

Powered by Google App Engine
This is Rietveld 408576698