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

Issue 192443004: Complete the switch to ServiceObject (Closed)

Created:
6 years, 9 months ago by Cutch
Modified:
6 years, 9 months ago
Reviewers:
turnidge, Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Switch Observatory to use only ServiceObject instances. All fetched objects are upgraded to a ServiceObject. ServiceObjectCache. Uniform updating / refreshing. Fix UTF8 string escaping in TextBuffer (should fix invalid character bug https://code.google.com/p/dart/issues/detail?id=16590) R=turnidge@google.com Committed: https://code.google.com/p/dart/source/detail?r=33541

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 59

Patch Set 7 : #

Patch Set 8 : #

Total comments: 1

Patch Set 9 : #

Patch Set 10 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1704 lines, -1516 lines) Patch
M runtime/bin/vmservice/client/lib/app.dart View 1 2 3 4 5 6 1 chunk +5 lines, -5 lines 0 comments Download
M runtime/bin/vmservice/client/lib/elements.dart View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M runtime/bin/vmservice/client/lib/elements.html View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
A runtime/bin/vmservice/client/lib/service.dart View 1 2 3 4 5 6 1 chunk +16 lines, -0 lines 0 comments Download
A runtime/bin/vmservice/client/lib/service_html.dart View 1 2 3 4 5 6 1 chunk +73 lines, -0 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/app/application.dart View 1 2 chunks +8 lines, -34 lines 0 comments Download
D runtime/bin/vmservice/client/lib/src/app/isolate.dart View 1 chunk +0 lines, -253 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/app/location_manager.dart View 1 2 3 4 5 6 4 chunks +24 lines, -49 lines 0 comments Download
D runtime/bin/vmservice/client/lib/src/app/model.dart View 1 chunk +0 lines, -392 lines 0 comments Download
D runtime/bin/vmservice/client/lib/src/app/service.dart View 1 chunk +0 lines, -68 lines 0 comments Download
D runtime/bin/vmservice/client/lib/src/app/vm.dart View 1 chunk +0 lines, -127 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/breakpoint_list.dart View 1 2 3 4 5 6 1 chunk +5 lines, -9 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/breakpoint_list.html View 1 1 chunk +3 lines, -3 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/class_view.dart View 1 2 3 4 5 6 1 chunk +5 lines, -9 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/class_view.html View 4 chunks +13 lines, -12 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/code_view.dart View 1 2 3 4 5 6 1 chunk +15 lines, -3 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/code_view.html View 1 1 chunk +11 lines, -9 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/curly_block.dart View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/disassembly_entry.dart View 1 chunk +3 lines, -1 line 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/disassembly_entry.html View 1 chunk +12 lines, -5 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/error_view.dart View 1 chunk +4 lines, -3 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/error_view.html View 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/field_ref.html View 1 2 chunks +1 line, -2 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/field_view.dart View 1 2 3 4 5 6 1 chunk +5 lines, -9 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/field_view.html View 3 chunks +8 lines, -8 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/function_view.dart View 1 2 3 4 5 6 1 chunk +6 lines, -10 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/function_view.html View 2 chunks +9 lines, -9 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/heap_profile.dart View 1 2 3 4 5 6 6 chunks +15 lines, -8 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/heap_profile.html View 1 chunk +3 lines, -3 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/instance_ref.dart View 1 2 3 4 5 6 2 chunks +17 lines, -35 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/instance_ref.html View 1 2 3 4 1 chunk +12 lines, -12 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/instance_view.dart View 1 chunk +4 lines, -3 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/instance_view.html View 1 3 chunks +7 lines, -7 lines 0 comments Download
D runtime/bin/vmservice/client/lib/src/elements/isolate_element.dart View 1 chunk +0 lines, -17 lines 0 comments Download
D runtime/bin/vmservice/client/lib/src/elements/isolate_element.html View 1 chunk +0 lines, -6 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/isolate_list.dart View 1 2 3 4 5 6 1 chunk +5 lines, -8 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/isolate_list.html View 2 chunks +3 lines, -3 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/isolate_profile.dart View 1 5 chunks +44 lines, -50 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/isolate_profile.html View 3 chunks +3 lines, -5 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/isolate_summary.dart View 1 chunk +4 lines, -2 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/isolate_summary.html View 5 chunks +8 lines, -10 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/library_view.dart View 1 2 3 4 5 6 1 chunk +6 lines, -9 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/library_view.html View 6 chunks +12 lines, -12 lines 0 comments Download
D runtime/bin/vmservice/client/lib/src/elements/message_viewer.dart View 1 2 3 1 chunk +0 lines, -36 lines 0 comments Download
D runtime/bin/vmservice/client/lib/src/elements/message_viewer.html View 1 2 3 1 chunk +0 lines, -85 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/nav_bar.dart View 1 2 3 4 5 6 3 chunks +8 lines, -7 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/nav_bar.html View 1 2 3 4 5 6 3 chunks +13 lines, -14 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/observatory_element.dart View 1 2 3 4 2 chunks +33 lines, -28 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/response_viewer.html View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/script_ref.dart View 1 chunk +6 lines, -17 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/script_view.dart View 1 2 3 4 5 6 1 chunk +43 lines, -18 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/script_view.html View 1 1 chunk +15 lines, -11 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/service_ref.dart View 2 chunks +16 lines, -20 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/service_ref.html View 1 1 chunk +2 lines, -2 lines 0 comments Download
A runtime/bin/vmservice/client/lib/src/elements/service_view.dart View 1 2 3 1 chunk +25 lines, -0 lines 0 comments Download
A runtime/bin/vmservice/client/lib/src/elements/service_view.html View 1 2 3 1 chunk +84 lines, -0 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/stack_frame.dart View 1 2 3 4 5 6 1 chunk +3 lines, -3 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/stack_frame.html View 2 chunks +5 lines, -5 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/stack_trace.dart View 1 2 3 4 5 6 1 chunk +5 lines, -9 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/elements/stack_trace.html View 2 chunks +4 lines, -4 lines 0 comments Download
D runtime/bin/vmservice/client/lib/src/elements/vm_element.dart View 1 chunk +0 lines, -17 lines 0 comments Download
D runtime/bin/vmservice/client/lib/src/elements/vm_element.html View 1 chunk +0 lines, -6 lines 0 comments Download
A runtime/bin/vmservice/client/lib/src/service/cache.dart View 1 2 3 4 5 6 1 chunk +138 lines, -0 lines 0 comments Download
A runtime/bin/vmservice/client/lib/src/service/object.dart View 1 2 3 4 5 6 1 chunk +588 lines, -0 lines 0 comments Download
A runtime/bin/vmservice/client/lib/src/service/service.dart View 1 2 3 4 5 6 1 chunk +184 lines, -0 lines 0 comments Download
A runtime/bin/vmservice/client/lib/src/service/vm.dart View 1 2 3 4 5 6 1 chunk +47 lines, -0 lines 0 comments Download
M runtime/bin/vmservice/server.dart View 1 chunk +2 lines, -1 line 0 comments Download
M runtime/vm/class_table.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M runtime/vm/coverage.cc View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/json_stream.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/json_stream.cc View 1 2 3 4 5 6 7 8 10 chunks +38 lines, -9 lines 1 comment Download
M runtime/vm/object.cc View 1 2 3 4 5 6 2 chunks +11 lines, -2 lines 0 comments Download
M runtime/vm/profiler.cc View 3 chunks +19 lines, -0 lines 0 comments Download
M runtime/vm/service.cc View 5 chunks +33 lines, -4 lines 0 comments Download
M runtime/vm/service/running_isolates.dart View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Cutch
Not ready for review yet.
6 years, 9 months ago (2014-03-10 15:01:29 UTC) #1
Cutch
PTAL
6 years, 9 months ago (2014-03-10 15:57:19 UTC) #2
turnidge
https://codereview.chromium.org/192443004/diff/90001/runtime/bin/vmservice/client/lib/src/app/location_manager.dart File runtime/bin/vmservice/client/lib/src/app/location_manager.dart (right): https://codereview.chromium.org/192443004/diff/90001/runtime/bin/vmservice/client/lib/src/app/location_manager.dart#newcode72 runtime/bin/vmservice/client/lib/src/app/location_manager.dart:72: void _setResponse(ServiceObject so) { Consider using "obj" instead of ...
6 years, 9 months ago (2014-03-10 21:03:27 UTC) #3
Cutch
Patch Set 8 is ready. https://codereview.chromium.org/192443004/diff/90001/runtime/bin/vmservice/client/lib/src/app/location_manager.dart File runtime/bin/vmservice/client/lib/src/app/location_manager.dart (right): https://codereview.chromium.org/192443004/diff/90001/runtime/bin/vmservice/client/lib/src/app/location_manager.dart#newcode72 runtime/bin/vmservice/client/lib/src/app/location_manager.dart:72: void _setResponse(ServiceObject so) { ...
6 years, 9 months ago (2014-03-11 03:17:48 UTC) #4
turnidge
lgtm https://codereview.chromium.org/192443004/diff/130001/runtime/bin/vmservice/client/lib/src/elements/script_view.html File runtime/bin/vmservice/client/lib/src/elements/script_view.html (right): https://codereview.chromium.org/192443004/diff/130001/runtime/bin/vmservice/client/lib/src/elements/script_view.html#newcode30 runtime/bin/vmservice/client/lib/src/elements/script_view.html:30: <td style="{{ hitsStyle(line) }}"> </td> Unrelated to this ...
6 years, 9 months ago (2014-03-11 16:40:06 UTC) #5
Cutch
Committed patchset #10 manually as r33541 (presubmit successful).
6 years, 9 months ago (2014-03-11 17:48:41 UTC) #6
Ivan Posva
6 years, 9 months ago (2014-03-12 21:17:15 UTC) #7
Message was sent while issue was closed.
DBC -ip

https://codereview.chromium.org/192443004/diff/170001/runtime/vm/json_stream.cc
File runtime/vm/json_stream.cc (right):

https://codereview.chromium.org/192443004/diff/170001/runtime/vm/json_stream....
runtime/vm/json_stream.cc:405: 
?

Powered by Google App Engine
This is Rietveld 408576698