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

Issue 7046001: Fix bug with long stack traces truncation in DevTools CPU profiler. (Closed)

Created:
9 years, 7 months ago by mnaganov (inactive)
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Fix bug with long stack traces truncation in DevTools CPU profiler. R=sgjesse@chromium.org,vitalyr@chromium.org BUG=1398 TEST=cctest/test-cpu-profiler/Issue1398 Committed: http://code.google.com/p/v8/source/detail?r=7949

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -1 line) Patch
M src/cpu-profiler.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-cpu-profiler.cc View 1 chunk +43 lines, -0 lines 1 comment Download

Messages

Total messages: 4 (0 generated)
mnaganov (inactive)
9 years, 7 months ago (2011-05-19 06:54:28 UTC) #1
Søren Thygesen Gjesse
LGTM
9 years, 7 months ago (2011-05-19 07:36:03 UTC) #2
Vitaly Repeshko
http://codereview.chromium.org/7046001/diff/1/test/cctest/test-cpu-profiler.cc File test/cctest/test-cpu-profiler.cc (right): http://codereview.chromium.org/7046001/diff/1/test/cctest/test-cpu-profiler.cc#newcode250 test/cctest/test-cpu-profiler.cc:250: while (!processor.running()) { ProfilerEventsProcessor sets "running" to true in ...
9 years, 7 months ago (2011-05-19 11:31:01 UTC) #3
mnaganov (inactive)
9 years, 7 months ago (2011-05-19 11:43:40 UTC) #4
On 2011/05/19 11:31:01, Vitaly Repeshko wrote:
> http://codereview.chromium.org/7046001/diff/1/test/cctest/test-cpu-profiler.cc
> File test/cctest/test-cpu-profiler.cc (right):
> 
>
http://codereview.chromium.org/7046001/diff/1/test/cctest/test-cpu-profiler.c...
> test/cctest/test-cpu-profiler.cc:250: while (!processor.running()) {
> ProfilerEventsProcessor sets "running" to true in the constructor. Do we need
> this loop (here and in other places in this file)? If yes, can we replace it
> with a semaphore?

Good catch!

No, we don't need it. Initially ProfilerEventsProcessor was setting it to 'true'
later (in the Run method), and the test code I've copied was written at that
time.

I will clean this up.

Powered by Google App Engine
This is Rietveld 408576698