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

Issue 163593002: Count ArrayBuffer's backing_store memory in heap snapshot. (Closed)

Created:
6 years, 10 months ago by alph
Modified:
6 years, 10 months ago
CC:
v8-dev
Visibility:
Public.

Description

Count ArrayBuffer's backing_store memory in heap snapshot. BUG=341741 LOG=N R=dslomov@chromium.org, loislo@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=19356

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressing comments. #

Total comments: 2

Patch Set 3 : ASSERT -> CHECK #

Patch Set 4 : reupload #

Patch Set 5 : Added a static_cast #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -11 lines) Patch
M src/heap-snapshot-generator.h View 1 2 chunks +6 lines, -0 lines 0 comments Download
M src/heap-snapshot-generator.cc View 1 2 3 4 5 chunks +32 lines, -11 lines 0 comments Download
M test/cctest/test-heap-profiler.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
alph
ptal
6 years, 10 months ago (2014-02-13 14:15:39 UTC) #1
loislo
On 2014/02/13 14:15:39, alph wrote: > ptal lgtm
6 years, 10 months ago (2014-02-13 14:20:03 UTC) #2
alph
Dmitry, could you please take a look.
6 years, 10 months ago (2014-02-13 14:21:53 UTC) #3
Dmitry Lomov (no reviews)
A nit and a real comment. https://codereview.chromium.org/163593002/diff/1/src/heap-snapshot-generator.cc File src/heap-snapshot-generator.cc (right): https://codereview.chromium.org/163593002/diff/1/src/heap-snapshot-generator.cc#newcode1460 src/heap-snapshot-generator.cc:1460: int entry, JSArrayBuffer* ...
6 years, 10 months ago (2014-02-13 14:28:01 UTC) #4
alph
ptal https://codereview.chromium.org/163593002/diff/1/src/heap-snapshot-generator.cc File src/heap-snapshot-generator.cc (right): https://codereview.chromium.org/163593002/diff/1/src/heap-snapshot-generator.cc#newcode1460 src/heap-snapshot-generator.cc:1460: int entry, JSArrayBuffer* array) { On 2014/02/13 14:28:01, ...
6 years, 10 months ago (2014-02-13 14:49:13 UTC) #5
Dmitry Lomov (no reviews)
lgtm with a nit Also, I do recommend changing type size in SnapshotEntry to size_t ...
6 years, 10 months ago (2014-02-13 15:20:45 UTC) #6
alph
On 2014/02/13 15:20:45, Dmitry Lomov (chromium) wrote: > lgtm with a nit > > Also, ...
6 years, 10 months ago (2014-02-13 15:27:24 UTC) #7
alph
https://codereview.chromium.org/163593002/diff/70001/src/heap-snapshot-generator.cc File src/heap-snapshot-generator.cc (right): https://codereview.chromium.org/163593002/diff/70001/src/heap-snapshot-generator.cc#newcode1468 src/heap-snapshot-generator.cc:1468: ASSERT(data_size <= kMaxInt); On 2014/02/13 15:20:46, Dmitry Lomov (chromium) ...
6 years, 10 months ago (2014-02-13 15:27:37 UTC) #8
alph
6 years, 10 months ago (2014-02-13 15:31:53 UTC) #9
Message was sent while issue was closed.
Committed patchset #5 manually as r19356 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698