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 2203913004: Revert of [Tracing] Embed V8 runtime call stats into tracing. (Closed)

Created:
4 years, 4 months ago by Yang
Modified:
4 years, 4 months ago
CC:
oth, rmcilroy, v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Revert of [Tracing] Embed V8 runtime call stats into tracing. (patchset #6 id:100001 of https://codereview.chromium.org/2187693002/ ) Reason for revert: Sanitizer failures: https://build.chromium.org/p/client.v8/builders/V8%20Linux64%20TSAN/builds/10989/ https://build.chromium.org/p/client.v8/builders/V8%20Mac64%20ASAN/builds/7786/ Original issue's description: > [Tracing] Embed V8 runtime call stats into tracing. > > Currently we have V8 RuntimeCallStats that is independently from tracing when > running d8 with flag --runtime_call_stats. This patch embeds V8 runtime call > stats into tracing, by having a global table of runtime call counters each > isolate, resetting the table each time we enter a top level trace event, and > dumping the table for each top level trace event. This will make trace file more > compat, as well as enable runtime call stats in tracing system. > > This patch adds ~5% overhead to V8 when the category is enabled, we measure the > overhead by running a script when category is enabled. > > BUG=v8:5089 > > Committed: https://crrev.com/d014866173eaa2b548c566217b2c94b1d49385fa > Cr-Commit-Position: refs/heads/master@{#38270} TBR=cbruni@chromium.org,fmeawad@chromium.org,machenbach@chromium.org,bmeurer@chromium.org,adamk@chromium.org,rmcilroy@chromium.org,lpy@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=v8:5089 Committed: https://crrev.com/26b30e40076b12704d6b7c18e47d2fcc957bbe25 Cr-Commit-Position: refs/heads/master@{#38275}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -404 lines) Patch
M src/api.cc View 10 chunks +6 lines, -16 lines 0 comments Download
M src/api-arguments.cc View 2 chunks +0 lines, -4 lines 0 comments Download
M src/api-arguments-inl.h View 5 chunks +0 lines, -11 lines 0 comments Download
M src/arguments.h View 1 chunk +3 lines, -4 lines 0 comments Download
M src/builtins/builtins-utils.h View 1 chunk +3 lines, -4 lines 0 comments Download
M src/compiler.cc View 10 chunks +16 lines, -22 lines 0 comments Download
M src/counters.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/counters.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M src/d8.gyp View 1 chunk +0 lines, -1 line 0 comments Download
M src/deoptimizer.cc View 3 chunks +3 lines, -6 lines 0 comments Download
M src/execution.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M src/full-codegen/full-codegen.cc View 1 chunk +1 line, -2 lines 0 comments Download
M src/ic/ic.cc View 15 chunks +15 lines, -0 lines 0 comments Download
M src/interpreter/interpreter.cc View 1 chunk +1 line, -2 lines 0 comments Download
M src/isolate.h View 3 chunks +0 lines, -5 lines 0 comments Download
M src/lookup.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M src/objects.cc View 3 chunks +0 lines, -14 lines 0 comments Download
M src/parsing/parser.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M src/tracing/trace-event.h View 4 chunks +0 lines, -172 lines 0 comments Download
M src/tracing/trace-event.cc View 1 chunk +0 lines, -120 lines 0 comments Download
M src/v8.gyp View 4 chunks +0 lines, -4 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
Yang
Created Revert of [Tracing] Embed V8 runtime call stats into tracing.
4 years, 4 months ago (2016-08-03 07:25:13 UTC) #2
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/2203913004/1
4 years, 4 months ago (2016-08-03 07:25:24 UTC) #3
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 4 months ago (2016-08-03 07:25:43 UTC) #5
commit-bot: I haz the power
4 years, 4 months ago (2016-08-03 07:28:13 UTC) #7
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/26b30e40076b12704d6b7c18e47d2fcc957bbe25
Cr-Commit-Position: refs/heads/master@{#38275}

Powered by Google App Engine
This is Rietveld 408576698