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

Issue 10535096: Implement heap profiler memory usage reporting. (Closed)

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

Description

Implement heap profiler memory usage reporting. Committed: https://code.google.com/p/v8/source/detail?r=11793

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addressing comments. #

Total comments: 2

Patch Set 3 : Make sizeof to be conformant to C++ guide. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -1 line) Patch
M include/v8-profiler.h View 1 1 chunk +3 lines, -0 lines 1 comment Download
M src/api.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M src/heap-profiler.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/heap-profiler.cc View 1 1 chunk +8 lines, -0 lines 0 comments Download
M src/profile-generator.h View 3 chunks +3 lines, -0 lines 0 comments Download
M src/profile-generator.cc View 1 2 5 chunks +42 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
alf
8 years, 6 months ago (2012-06-09 15:24:15 UTC) #1
mnaganov (inactive)
https://chromiumcodereview.appspot.com/10535096/diff/1/include/v8-profiler.h File include/v8-profiler.h (right): https://chromiumcodereview.appspot.com/10535096/diff/1/include/v8-profiler.h#newcode487 include/v8-profiler.h:487: static size_t GetUsedMemorySize(); The name isn't very clear. How ...
8 years, 6 months ago (2012-06-11 09:47:19 UTC) #2
loislo
https://chromiumcodereview.appspot.com/10535096/diff/1/src/profile-generator.cc File src/profile-generator.cc (right): https://chromiumcodereview.appspot.com/10535096/diff/1/src/profile-generator.cc#newcode1548 src/profile-generator.cc:1548: size_t size = sizeof(*this); On 2012/06/11 09:47:19, Mikhail Naganov ...
8 years, 6 months ago (2012-06-11 09:59:20 UTC) #3
mnaganov (inactive)
https://chromiumcodereview.appspot.com/10535096/diff/1/src/profile-generator.cc File src/profile-generator.cc (right): https://chromiumcodereview.appspot.com/10535096/diff/1/src/profile-generator.cc#newcode1548 src/profile-generator.cc:1548: size_t size = sizeof(*this); On 2012/06/11 09:59:20, loislo wrote: ...
8 years, 6 months ago (2012-06-11 10:01:55 UTC) #4
alf
https://chromiumcodereview.appspot.com/10535096/diff/1/include/v8-profiler.h File include/v8-profiler.h (right): https://chromiumcodereview.appspot.com/10535096/diff/1/include/v8-profiler.h#newcode487 include/v8-profiler.h:487: static size_t GetUsedMemorySize(); On 2012/06/11 09:47:19, Mikhail Naganov (Chromium) ...
8 years, 6 months ago (2012-06-12 17:51:28 UTC) #5
mnaganov (inactive)
LGTM with a comment https://chromiumcodereview.appspot.com/10535096/diff/6001/src/profile-generator.cc File src/profile-generator.cc (right): https://chromiumcodereview.appspot.com/10535096/diff/6001/src/profile-generator.cc#newcode1264 src/profile-generator.cc:1264: STATIC_CHECK(sizeof(HeapSnapshot) == Please verify that ...
8 years, 6 months ago (2012-06-12 21:43:26 UTC) #6
alexeif
PTAL https://chromiumcodereview.appspot.com/10535096/diff/6001/src/profile-generator.cc File src/profile-generator.cc (right): https://chromiumcodereview.appspot.com/10535096/diff/6001/src/profile-generator.cc#newcode1264 src/profile-generator.cc:1264: STATIC_CHECK(sizeof(HeapSnapshot) == On 2012/06/12 21:43:26, Mikhail Naganov (Chromium) ...
8 years, 6 months ago (2012-06-13 10:47:20 UTC) #7
mnaganov (inactive)
lgtm
8 years, 6 months ago (2012-06-13 10:56:46 UTC) #8
yurys
8 years, 6 months ago (2012-06-18 07:28:28 UTC) #9
https://chromiumcodereview.appspot.com/10535096/diff/13001/include/v8-profiler.h
File include/v8-profiler.h (right):

https://chromiumcodereview.appspot.com/10535096/diff/13001/include/v8-profile...
include/v8-profiler.h:487: static size_t GetMemorySizeUsedByProfiler();
nit: I would include units into the name: GetMemoryUsedByProfilerInBytes

Powered by Google App Engine
This is Rietveld 408576698