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

Issue 574005: Fix issue 597: builtins and stubs are missing in profiler log when using snapshots. (Closed)

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

Description

Fix issue 597: builtins and stubs are missing in profiler log when using snapshots. After this fix, profiles of non-snapshotted VMs are now equivalent to profiles of snapshotted VMs (having that --log-snapshot-positions is used, and mksnapshot's log is given to the tick processor script.) BUG=597 Committed: http://code.google.com/p/v8/source/detail?r=3802

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -2 lines) Patch
M src/log.h View 2 chunks +4 lines, -1 line 0 comments Download
M src/log.cc View 1 chunk +10 lines, -0 lines 2 comments Download
M src/v8.cc View 1 chunk +4 lines, -1 line 0 comments Download
M tools/tickprocessor.js View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
mnaganov (inactive)
10 years, 10 months ago (2010-02-04 16:31:25 UTC) #1
Erik Corry
LGTM. http://codereview.chromium.org/574005/diff/1/2 File src/log.cc (right): http://codereview.chromium.org/574005/diff/1/2#newcode1302 src/log.cc:1302: LogCodeObject(obj); Seems like if (obj->IsCode()) LogCodeObject(obj) would be ...
10 years, 10 months ago (2010-02-04 20:52:54 UTC) #2
mnaganov (inactive)
10 years, 10 months ago (2010-02-04 21:33:06 UTC) #3
http://codereview.chromium.org/574005/diff/1/2
File src/log.cc (right):

http://codereview.chromium.org/574005/diff/1/2#newcode1302
src/log.cc:1302: LogCodeObject(obj);
On 2010/02/04 20:52:54, Erik Corry wrote:
> Seems like
> if (obj->IsCode()) LogCodeObject(obj)
> would be more compact and easier to read.

Indeed. Fixed.

Powered by Google App Engine
This is Rietveld 408576698