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

Issue 2562973002: [perf-prof] fix crash when logging. (Closed)

Created:
4 years ago by Yang
Modified:
4 years ago
Reviewers:
Tobias Tebbi
CC:
v8-reviews_googlegroups.com, danno, Jarin
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[perf-prof] fix crash when logging. Logging for --perf-prof is not GC safe. Now, we are going to emit source position info for optimized code when we are profiling, logging, or debugging, and under the same condition, pre-compute the line ends array for line number computation. R=tebbi@chromium.org BUG=v8:5730 Committed: https://crrev.com/75f5200508a779c51eafe99dd0ffe76858bffb27 Cr-Commit-Position: refs/heads/master@{#41619}

Patch Set 1 #

Patch Set 2 : remove stray edit #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -23 lines) Patch
M src/api.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/compilation-info.cc View 1 chunk +1 line, -3 lines 0 comments Download
M src/compiler.cc View 2 chunks +6 lines, -2 lines 0 comments Download
M src/isolate.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/isolate.cc View 3 chunks +8 lines, -2 lines 0 comments Download
M src/messages.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/objects.h View 1 chunk +1 line, -1 line 0 comments Download
M src/objects.cc View 1 chunk +4 lines, -8 lines 0 comments Download
M src/perf-jit.cc View 3 chunks +6 lines, -5 lines 2 comments Download

Messages

Total messages: 10 (5 generated)
Tobias Tebbi
lgtm https://codereview.chromium.org/2562973002/diff/20001/src/perf-jit.cc File src/perf-jit.cc (right): https://codereview.chromium.org/2562973002/diff/20001/src/perf-jit.cc#newcode266 src/perf-jit.cc:266: ->ToCString(DISALLOW_NULLS, FAST_STRING_TRAVERSAL, &name_length); only ROBUST_STRING_TRAVERSAL seems to guarantee ...
4 years ago (2016-12-09 12:53:26 UTC) #2
Yang
https://codereview.chromium.org/2562973002/diff/20001/src/perf-jit.cc File src/perf-jit.cc (right): https://codereview.chromium.org/2562973002/diff/20001/src/perf-jit.cc#newcode266 src/perf-jit.cc:266: ->ToCString(DISALLOW_NULLS, FAST_STRING_TRAVERSAL, &name_length); On 2016/12/09 12:53:26, Tobias Tebbi wrote: ...
4 years ago (2016-12-09 14:00:36 UTC) #3
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/2562973002/20001
4 years ago (2016-12-09 14:00:53 UTC) #5
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-09 14:30:11 UTC) #8
commit-bot: I haz the power
4 years ago (2016-12-09 14:30:47 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/75f5200508a779c51eafe99dd0ffe76858bffb27
Cr-Commit-Position: refs/heads/master@{#41619}

Powered by Google App Engine
This is Rietveld 408576698