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

Issue 166383002: Allow self_size to be larger than 2GB in heap snapshots. (Closed)

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

Description

Allow self_size to be larger than 2GB in heap snapshots. LOG=N R=dslomov@chromium.org, yurys@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=19445

Patch Set 1 #

Total comments: 2

Patch Set 2 : Changed the API #

Total comments: 4

Patch Set 3 : Added casts #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -25 lines) Patch
M include/v8-profiler.h View 1 1 chunk +5 lines, -1 line 0 comments Download
M src/api.cc View 1 1 chunk +7 lines, -0 lines 0 comments Download
M src/heap-snapshot-generator.h View 1 4 chunks +5 lines, -5 lines 0 comments Download
M src/heap-snapshot-generator.cc View 1 12 chunks +39 lines, -14 lines 0 comments Download
M test/cctest/test-heap-profiler.cc View 1 2 3 chunks +6 lines, -5 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
alph
ptal
6 years, 10 months ago (2014-02-14 09:46:37 UTC) #1
loislo
https://codereview.chromium.org/166383002/diff/1/src/api.cc File src/api.cc (right): https://codereview.chromium.org/166383002/diff/1/src/api.cc#newcode6974 src/api.cc:6974: size_t size = ToInternal(this)->self_size(); please introduce GetShallowSize with size_t ...
6 years, 10 months ago (2014-02-14 13:26:02 UTC) #2
alph
ptal https://chromiumcodereview.appspot.com/166383002/diff/1/src/api.cc File src/api.cc (right): https://chromiumcodereview.appspot.com/166383002/diff/1/src/api.cc#newcode6974 src/api.cc:6974: size_t size = ToInternal(this)->self_size(); On 2014/02/14 13:26:02, loislo ...
6 years, 10 months ago (2014-02-17 16:57:51 UTC) #3
yurys
lgtm https://chromiumcodereview.appspot.com/166383002/diff/60001/src/api.cc File src/api.cc (right): https://chromiumcodereview.appspot.com/166383002/diff/60001/src/api.cc#newcode6975 src/api.cc:6975: CHECK(size <= static_cast<size_t>(internal::kMaxInt)); As I understand this check ...
6 years, 10 months ago (2014-02-18 08:03:25 UTC) #4
alph
https://chromiumcodereview.appspot.com/166383002/diff/60001/src/api.cc File src/api.cc (right): https://chromiumcodereview.appspot.com/166383002/diff/60001/src/api.cc#newcode6975 src/api.cc:6975: CHECK(size <= static_cast<size_t>(internal::kMaxInt)); On 2014/02/18 08:03:25, yurys wrote: > ...
6 years, 10 months ago (2014-02-18 12:21:30 UTC) #5
alph
Dmitry could you please take a look.
6 years, 10 months ago (2014-02-18 12:21:53 UTC) #6
Dmitry Lomov (no reviews)
lgtm (a small warning re windows build) https://chromiumcodereview.appspot.com/166383002/diff/60001/test/cctest/test-heap-profiler.cc File test/cctest/test-heap-profiler.cc (right): https://chromiumcodereview.appspot.com/166383002/diff/60001/test/cctest/test-heap-profiler.cc#newcode237 test/cctest/test-heap-profiler.cc:237: CHECK_NE(0, x->GetShallowSize()); ...
6 years, 10 months ago (2014-02-18 12:40:41 UTC) #7
alph
https://chromiumcodereview.appspot.com/166383002/diff/60001/test/cctest/test-heap-profiler.cc File test/cctest/test-heap-profiler.cc (right): https://chromiumcodereview.appspot.com/166383002/diff/60001/test/cctest/test-heap-profiler.cc#newcode237 test/cctest/test-heap-profiler.cc:237: CHECK_NE(0, x->GetShallowSize()); On 2014/02/18 12:40:41, Dmitry Lomov (chromium) wrote: ...
6 years, 10 months ago (2014-02-18 13:21:17 UTC) #8
alph
6 years, 10 months ago (2014-02-18 13:22:17 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 manually as r19445 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698