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

Issue 23875015: - Base JSON stream printing on stack objects. (Closed)

Created:
7 years, 3 months ago by Ivan Posva
Modified:
7 years, 3 months ago
Reviewers:
Cutch, siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

- Base JSON stream printing on stack objects. - Simplify creation of a JSONStream. - Add experimental coverage output to the VM. R=asiva@google.com, johnmccutchan@google.com Committed: https://code.google.com/p/dart/source/detail?r=27344

Patch Set 1 #

Total comments: 12

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+694 lines, -491 lines) Patch
A runtime/vm/coverage.h View 1 chunk +30 lines, -0 lines 0 comments Download
A runtime/vm/coverage.cc View 1 chunk +99 lines, -0 lines 0 comments Download
M runtime/vm/disassembler.h View 1 3 chunks +4 lines, -4 lines 0 comments Download
M runtime/vm/disassembler.cc View 1 2 chunks +8 lines, -10 lines 0 comments Download
M runtime/vm/heap_histogram.cc View 1 1 chunk +38 lines, -35 lines 0 comments Download
M runtime/vm/isolate.cc View 1 3 chunks +41 lines, -39 lines 0 comments Download
M runtime/vm/json_stream.h View 1 2 chunks +98 lines, -20 lines 0 comments Download
M runtime/vm/json_stream.cc View 1 7 chunks +68 lines, -28 lines 0 comments Download
M runtime/vm/json_test.cc View 1 1 chunk +136 lines, -103 lines 0 comments Download
M runtime/vm/object.h View 1 2 chunks +9 lines, -10 lines 0 comments Download
M runtime/vm/object.cc View 1 60 chunks +110 lines, -186 lines 0 comments Download
M runtime/vm/service.cc View 1 7 chunks +51 lines, -56 lines 0 comments Download
M runtime/vm/vm_sources.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Ivan Posva
https://codereview.chromium.org/23875015/diff/1/runtime/vm/coverage.cc File runtime/vm/coverage.cc (right): https://codereview.chromium.org/23875015/diff/1/runtime/vm/coverage.cc#newcode55 runtime/vm/coverage.cc:55: // OS::Print(" %s -> %"Pd" @ %"Pd" %"Pd"\n", Debugging ...
7 years, 3 months ago (2013-09-09 18:01:45 UTC) #1
Cutch
lgtm https://codereview.chromium.org/23875015/diff/1/runtime/vm/heap_histogram.cc File runtime/vm/heap_histogram.cc (right): https://codereview.chromium.org/23875015/diff/1/runtime/vm/heap_histogram.cc#newcode166 runtime/vm/heap_histogram.cc:166: jsarr.AddValue("count"); Because of how web_ui <template> tags are ...
7 years, 3 months ago (2013-09-09 18:35:39 UTC) #2
siva
lgtm https://codereview.chromium.org/23875015/diff/1/runtime/vm/heap_histogram.cc File runtime/vm/heap_histogram.cc (right): https://codereview.chromium.org/23875015/diff/1/runtime/vm/heap_histogram.cc#newcode199 runtime/vm/heap_histogram.cc:199: JSONObject jsobj1(jsobj, "sums"); I would name this as ...
7 years, 3 months ago (2013-09-09 22:45:25 UTC) #3
Ivan Posva
Thanks! -Ivan https://codereview.chromium.org/23875015/diff/1/runtime/vm/heap_histogram.cc File runtime/vm/heap_histogram.cc (right): https://codereview.chromium.org/23875015/diff/1/runtime/vm/heap_histogram.cc#newcode166 runtime/vm/heap_histogram.cc:166: jsarr.AddValue("count"); On 2013/09/09 18:35:39, Cutch wrote: > ...
7 years, 3 months ago (2013-09-10 17:21:31 UTC) #4
Ivan Posva
Committed patchset #2 manually as r27344 (presubmit successful).
7 years, 3 months ago (2013-09-10 17:22:11 UTC) #5
Cutch
7 years, 3 months ago (2013-09-10 17:49:03 UTC) #6
Message was sent while issue was closed.
https://codereview.chromium.org/23875015/diff/1/runtime/vm/heap_histogram.cc
File runtime/vm/heap_histogram.cc (right):

https://codereview.chromium.org/23875015/diff/1/runtime/vm/heap_histogram.cc#...
runtime/vm/heap_histogram.cc:166: jsarr.AddValue("count");
On 2013/09/10 17:21:31, Ivan Posva wrote:
> On 2013/09/09 18:35:39, Cutch wrote:
> > Because of how web_ui <template> tags are executed I needed to have the list
> of
> > property keys (aside from name and category) listed. If a new key is added
to
> > "properties" the UI would display a table for that property.
> 
> Thanks for the explanation. Will this change with the switch to polymer?

Not sure yet. Polymer looks like it's going to require more Dart code so I may
end up being able to extract the list of properties from the individual
elements, in that case this will go away.

Powered by Google App Engine
This is Rietveld 408576698