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

Issue 9858016: I'd like to add HeapSnapshot::GetMaxSnapshotJSObjectId function. (Closed)

Created:
8 years, 9 months ago by loislo
Modified:
8 years, 9 months ago
CC:
yurys, alexeif
Visibility:
Public.

Description

This value is required for showing the heap snapshot delta in Summary view of DevTools.Profiler. At the moment it is evaluating on the front-end side and this is cost us 2 * (load time + parse time + traverse via snapshot) because I need this value for two previous snapshots. BUG=none TEST=test-heap-profiler

Patch Set 1 #

Total comments: 2

Patch Set 2 : printf was removed, typo was fixed. #

Total comments: 2

Patch Set 3 : comments addressed #

Patch Set 4 : fix for compilation bug #

Patch Set 5 : fix. In some cases v8_str doesn't introduce new string in the heap. As result both snapshot have eq… #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -5 lines) Patch
M include/v8-profiler.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/api.cc View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M src/profile-generator.h View 3 chunks +4 lines, -2 lines 0 comments Download
M src/profile-generator.cc View 1 2 3 2 chunks +7 lines, -1 line 0 comments Download
M test/cctest/test-heap-profiler.cc View 1 2 3 4 1 chunk +9 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
loislo
8 years, 9 months ago (2012-03-26 14:40:33 UTC) #1
yurys
https://chromiumcodereview.appspot.com/9858016/diff/1/src/profile-generator.cc File src/profile-generator.cc (right): https://chromiumcodereview.appspot.com/9858016/diff/1/src/profile-generator.cc#newcode1228 src/profile-generator.cc:1228: // Track only js objects. They has odd ids. ...
8 years, 9 months ago (2012-03-26 14:53:20 UTC) #2
loislo
done
8 years, 9 months ago (2012-03-26 15:01:43 UTC) #3
mnaganov (inactive)
https://chromiumcodereview.appspot.com/9858016/diff/4001/src/api.cc File src/api.cc (right): https://chromiumcodereview.appspot.com/9858016/diff/4001/src/api.cc#newcode6161 src/api.cc:6161: return ToInternal(this)->max_snapshot_js_object_id(); Please add i::Isolate* isolate = i::Isolate::Current(); IsDeadCheck(isolate, ...
8 years, 9 months ago (2012-03-26 15:55:37 UTC) #4
loislo
comments addressed
8 years, 9 months ago (2012-03-27 05:26:48 UTC) #5
mnaganov (inactive)
8 years, 9 months ago (2012-03-27 08:50:45 UTC) #6
lgtm

Powered by Google App Engine
This is Rietveld 408576698