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

Issue 2655963003: [profiler] Fix a memory leak of CodeEvent objects (Closed)

Created:
3 years, 11 months ago by alph
Modified:
3 years, 11 months ago
Reviewers:
fmeawad, Camillo Bruni, Yang
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[profiler] Fix a memory leak of CodeEvent objects BUG=v8:5753 Review-Url: https://codereview.chromium.org/2655963003 Cr-Commit-Position: refs/heads/master@{#42720} Committed: https://chromium.googlesource.com/v8/v8/+/c99c25a988faa171a3c115e096b90b0e2df4232f

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -23 lines) Patch
M src/profiler/cpu-profiler.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/profiler/cpu-profiler.cc View 2 chunks +17 lines, -1 line 3 comments Download
M src/profiler/profile-generator.h View 2 chunks +1 line, -2 lines 0 comments Download
M src/profiler/profile-generator.cc View 1 chunk +2 lines, -12 lines 0 comments Download
M test/cctest/test-cpu-profiler.cc View 5 chunks +5 lines, -5 lines 0 comments Download
M test/cctest/test-profile-generator.cc View 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 20 (9 generated)
alph
3 years, 11 months ago (2017-01-25 22:12:03 UTC) #4
Yang
On 2017/01/25 22:12:03, alph wrote: lgtm
3 years, 11 months ago (2017-01-26 08:36:36 UTC) #7
fmeawad
lgtm https://codereview.chromium.org/2655963003/diff/1/src/profiler/cpu-profiler.cc File src/profiler/cpu-profiler.cc (right): https://codereview.chromium.org/2655963003/diff/1/src/profiler/cpu-profiler.cc#newcode289 src/profiler/cpu-profiler.cc:289: CodeEntry::kEmptyNamePrefix, "native V8Runtime")); Another option is to generate ...
3 years, 11 months ago (2017-01-26 15:37:58 UTC) #9
alph
https://codereview.chromium.org/2655963003/diff/1/src/profiler/cpu-profiler.cc File src/profiler/cpu-profiler.cc (right): https://codereview.chromium.org/2655963003/diff/1/src/profiler/cpu-profiler.cc#newcode289 src/profiler/cpu-profiler.cc:289: CodeEntry::kEmptyNamePrefix, "native V8Runtime")); On 2017/01/26 15:37:58, fmeawad wrote: > ...
3 years, 11 months ago (2017-01-26 18:05:56 UTC) #10
Camillo Bruni
LGTM https://codereview.chromium.org/2655963003/diff/1/src/profiler/cpu-profiler.cc File src/profiler/cpu-profiler.cc (right): https://codereview.chromium.org/2655963003/diff/1/src/profiler/cpu-profiler.cc#newcode286 src/profiler/cpu-profiler.cc:286: DCHECK(counter->name()); nit: DCHECK_NOT_NULL
3 years, 11 months ago (2017-01-26 18:17:31 UTC) #11
fmeawad
On 2017/01/26 18:05:56, alph wrote: > https://codereview.chromium.org/2655963003/diff/1/src/profiler/cpu-profiler.cc > File src/profiler/cpu-profiler.cc (right): > > https://codereview.chromium.org/2655963003/diff/1/src/profiler/cpu-profiler.cc#newcode289 > ...
3 years, 11 months ago (2017-01-26 18:54:42 UTC) #12
Camillo Bruni
On 2017/01/26 at 18:54:42, fmeawad wrote: > On 2017/01/26 18:05:56, alph wrote: > > https://codereview.chromium.org/2655963003/diff/1/src/profiler/cpu-profiler.cc ...
3 years, 11 months ago (2017-01-26 19:17:57 UTC) #13
alph
On 2017/01/26 18:54:42, fmeawad wrote: > On 2017/01/26 18:05:56, alph wrote: > > https://codereview.chromium.org/2655963003/diff/1/src/profiler/cpu-profiler.cc > ...
3 years, 11 months ago (2017-01-26 21:44:52 UTC) #14
fmeawad
On 2017/01/26 21:44:52, alph wrote: > On 2017/01/26 18:54:42, fmeawad wrote: > > On 2017/01/26 ...
3 years, 11 months ago (2017-01-26 23:08:09 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2655963003/1
3 years, 11 months ago (2017-01-27 00:20:24 UTC) #17
commit-bot: I haz the power
3 years, 11 months ago (2017-01-27 01:13:00 UTC) #20
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/v8/v8/+/c99c25a988faa171a3c115e096b90b0e2df...

Powered by Google App Engine
This is Rietveld 408576698