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

Issue 2231313002: Avoid to list internal Arrays in _GetRetainingPath api (Closed)

Created:
4 years, 4 months ago by cbernaschina
Modified:
4 years, 4 months ago
Reviewers:
turnidge, rmacnak, Cutch
CC:
reviews_dartlang.org, turnidge, rmacnak, Cutch, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Compacting _GetRetainingPath result avoiding some internal structures. R=rmacnak@google.com Committed: https://github.com/dart-lang/sdk/commit/a58c34254dcc8b04cc2edf69e5746bca8370e8df

Patch Set 1 #

Total comments: 8

Patch Set 2 : Stop iterating at static fields and remove GrowableObjectList internal storage from the list #

Total comments: 4

Patch Set 3 : Added LinkedHashMap hiding support #

Patch Set 4 : Added LinkedHashMap tests #

Total comments: 2

Patch Set 5 : Removed comment #

Patch Set 6 : Fixed comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -22 lines) Patch
M runtime/observatory/lib/src/elements/object_common.html View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M runtime/observatory/tests/service/get_retaining_path_rpc_test.dart View 1 2 3 5 chunks +52 lines, -16 lines 0 comments Download
M runtime/vm/object_graph.cc View 1 2 4 chunks +35 lines, -1 line 0 comments Download
M runtime/vm/service.cc View 1 2 3 4 5 1 chunk +20 lines, -4 lines 0 comments Download

Messages

Total messages: 16 (4 generated)
cbernaschina
4 years, 4 months ago (2016-08-11 03:59:47 UTC) #3
Cutch
https://codereview.chromium.org/2231313002/diff/1/runtime/observatory/lib/src/elements/object_common.html File runtime/observatory/lib/src/elements/object_common.html (right): https://codereview.chromium.org/2231313002/diff/1/runtime/observatory/lib/src/elements/object_common.html#newcode68 runtime/observatory/lib/src/elements/object_common.html:68: <div class="memberName">[{{ path['elements'].indexOf(element) }}]</div> why compute the index of ...
4 years, 4 months ago (2016-08-11 13:23:21 UTC) #4
Cutch
Please write a service test which demonstrates the bug.
4 years, 4 months ago (2016-08-11 16:11:33 UTC) #5
rmacnak
This approach makes me nervous. There will be objects where all retaining paths include one ...
4 years, 4 months ago (2016-08-11 17:20:25 UTC) #6
cbernaschina
https://codereview.chromium.org/2231313002/diff/1/runtime/observatory/lib/src/elements/object_common.html File runtime/observatory/lib/src/elements/object_common.html (right): https://codereview.chromium.org/2231313002/diff/1/runtime/observatory/lib/src/elements/object_common.html#newcode68 runtime/observatory/lib/src/elements/object_common.html:68: <div class="memberName">[{{ path['elements'].indexOf(element) }}]</div> On 2016/08/11 13:23:21, Cutch wrote: ...
4 years, 4 months ago (2016-08-11 22:03:31 UTC) #7
Cutch
https://codereview.chromium.org/2231313002/diff/20001/runtime/vm/object_graph.cc File runtime/vm/object_graph.cc (right): https://codereview.chromium.org/2231313002/diff/20001/runtime/vm/object_graph.cc#newcode332 runtime/vm/object_graph.cc:332: wasLastArray_ = false; C++ style guide says variables are ...
4 years, 4 months ago (2016-08-12 14:23:40 UTC) #8
cbernaschina
https://codereview.chromium.org/2231313002/diff/20001/runtime/vm/object_graph.cc File runtime/vm/object_graph.cc (right): https://codereview.chromium.org/2231313002/diff/20001/runtime/vm/object_graph.cc#newcode332 runtime/vm/object_graph.cc:332: wasLastArray_ = false; On 2016/08/12 14:23:39, Cutch wrote: > ...
4 years, 4 months ago (2016-08-12 17:28:24 UTC) #9
Cutch
Please expand the tests to show that the retaining paths for a List and a ...
4 years, 4 months ago (2016-08-12 17:41:11 UTC) #10
cbernaschina
4 years, 4 months ago (2016-08-12 18:00:46 UTC) #12
rmacnak
lgtm https://codereview.chromium.org/2231313002/diff/60001/runtime/vm/service.cc File runtime/vm/service.cc (right): https://codereview.chromium.org/2231313002/diff/60001/runtime/vm/service.cc#newcode2018 runtime/vm/service.cc:2018: // TODO(koda): User-friendly interpretation for map entries. Remove ...
4 years, 4 months ago (2016-08-12 20:22:24 UTC) #13
cbernaschina
https://codereview.chromium.org/2231313002/diff/60001/runtime/vm/service.cc File runtime/vm/service.cc (right): https://codereview.chromium.org/2231313002/diff/60001/runtime/vm/service.cc#newcode2018 runtime/vm/service.cc:2018: // TODO(koda): User-friendly interpretation for map entries. On 2016/08/12 ...
4 years, 4 months ago (2016-08-12 20:34:17 UTC) #14
cbernaschina
4 years, 4 months ago (2016-08-12 20:42:13 UTC) #16
Message was sent while issue was closed.
Committed patchset #6 (id:100001) manually as
a58c34254dcc8b04cc2edf69e5746bca8370e8df (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698