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

Issue 2342643004: [Tracing] Remove unnecessary memory allocation in runtime call stats. (Closed)

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

Description

[Tracing] Remove unnecessary memory allocation in runtime call stats. Previously we didn't implement TRACE_STR_COPY when we write trace events to file, which causes us to allocate a growing independent memory chunk for dumped runtime call stats table. Since we now have a fully functional TRACE_STR_COPY, this memory allocation can be avoided, this patch removes it. BUG=v8:5089 Committed: https://crrev.com/e1997bb7d780d12e3a89078e8dd652dcf1d90039 Committed: https://crrev.com/9e640b74b39dc5b0f7fda5e88442826568f2e5a6 Cr-Original-Commit-Position: refs/heads/master@{#39462} Cr-Commit-Position: refs/heads/master@{#39510}

Patch Set 1 #

Patch Set 2 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -15 lines) Patch
M src/counters.h View 1 2 chunks +1 line, -3 lines 0 comments Download
M src/counters.cc View 1 2 chunks +2 lines, -9 lines 0 comments Download
M src/tracing/trace-event.cc View 1 1 chunk +4 lines, -3 lines 0 comments Download

Messages

Total messages: 38 (25 generated)
lpy
PTAL.
4 years, 3 months ago (2016-09-15 21:50:32 UTC) #6
lpy
I can verify this works on Chrome TOT and V8.
4 years, 3 months ago (2016-09-15 21:56:33 UTC) #7
fmeawad
lgtm
4 years, 3 months ago (2016-09-15 22:03:30 UTC) #8
Camillo Bruni
lgtm
4 years, 3 months ago (2016-09-15 23:37:47 UTC) #9
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/2342643004/1
4 years, 3 months ago (2016-09-16 04:10:58 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-09-16 04:12:55 UTC) #12
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/e1997bb7d780d12e3a89078e8dd652dcf1d90039 Cr-Commit-Position: refs/heads/master@{#39462}
4 years, 3 months ago (2016-09-16 04:13:25 UTC) #14
vogelheim
A revert of this CL (patchset #1 id:1) has been created in https://codereview.chromium.org/2349593004/ by vogelheim@chromium.org. ...
4 years, 3 months ago (2016-09-16 14:20:25 UTC) #15
lpy
cbruni@, fmeawad@, I updated the patch a little (changed the Dump to return a std::string), ...
4 years, 3 months ago (2016-09-19 06:42:19 UTC) #19
Camillo Bruni
lgtm
4 years, 3 months ago (2016-09-19 13:47:48 UTC) #26
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/2342643004/40001
4 years, 3 months ago (2016-09-19 18:45:51 UTC) #34
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 3 months ago (2016-09-19 18:48:05 UTC) #36
commit-bot: I haz the power
4 years, 3 months ago (2016-09-19 21:01:38 UTC) #38
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/9e640b74b39dc5b0f7fda5e88442826568f2e5a6
Cr-Commit-Position: refs/heads/master@{#39510}

Powered by Google App Engine
This is Rietveld 408576698