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

Issue 7864017: Eliminate the need for code delete events in CPU profiler. (Closed)

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

Description

Eliminate the need for code delete events in CPU profiler. Events are still generated for tick processor on performance testing server to work, as soon as scripts will be updated, it will be safe to remove code delete events emitting code. R=erik.corry@gmail.com BUG=v8:1466 TEST=existing tests in test-profile-generator,test-cpu-profiler and mjsunit/tools Committed: http://code.google.com/p/v8/source/detail?r=9275

Patch Set 1 #

Patch Set 2 : Fixed test-log/EquivalenceOfLoggingAndTraversal #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -133 lines) Patch
M src/cpu-profiler.h View 2 chunks +0 lines, -9 lines 0 comments Download
M src/cpu-profiler.cc View 2 chunks +0 lines, -11 lines 0 comments Download
M src/cpu-profiler-inl.h View 1 chunk +0 lines, -5 lines 0 comments Download
M src/log.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/log.cc View 1 2 chunks +49 lines, -42 lines 2 comments Download
M src/profile-generator.h View 2 chunks +4 lines, -3 lines 0 comments Download
M src/profile-generator.cc View 2 chunks +32 lines, -0 lines 0 comments Download
M src/profile-generator-inl.h View 1 chunk +0 lines, -16 lines 0 comments Download
M src/runtime.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M test/cctest/log-eq-of-logging-and-traversal.js View 1 5 chunks +5 lines, -13 lines 0 comments Download
M test/cctest/test-cpu-profiler.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-log.cc View 1 2 chunks +4 lines, -2 lines 0 comments Download
M test/cctest/test-profile-generator.cc View 1 chunk +6 lines, -5 lines 0 comments Download
M tools/codemap.js View 1 4 chunks +15 lines, -26 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
mnaganov (inactive)
9 years, 3 months ago (2011-09-09 22:28:03 UTC) #1
Erik Corry
LGTM! Thanks.
9 years, 3 months ago (2011-09-10 14:03:07 UTC) #2
mnaganov (inactive)
On 2011/09/10 14:03:07, Erik Corry wrote: > LGTM! Thanks. Please, take another look. I have ...
9 years, 3 months ago (2011-09-13 19:25:01 UTC) #3
Erik Corry
LGTM http://codereview.chromium.org/7864017/diff/4001/src/log.cc File src/log.cc (right): http://codereview.chromium.org/7864017/diff/4001/src/log.cc#newcode1591 src/log.cc:1591: LogExistingFunction(*sfis[i], *code_objects[i]); This is in handle code and ...
9 years, 3 months ago (2011-09-14 10:56:52 UTC) #4
mnaganov (inactive)
9 years, 3 months ago (2011-09-14 11:16:07 UTC) #5
http://codereview.chromium.org/7864017/diff/4001/src/log.cc
File src/log.cc (right):

http://codereview.chromium.org/7864017/diff/4001/src/log.cc#newcode1591
src/log.cc:1591: LogExistingFunction(*sfis[i], *code_objects[i]);
On 2011/09/14 10:56:52, Erik Corry wrote:
> This is in handle code and it starts by putting its arguments into handles.  I
> think it would be cleaner if it just took its argument as handles.

Indeed. Fixed, thanks!

Powered by Google App Engine
This is Rietveld 408576698