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

Issue 2992893002: Reapply "[vm] Don't enable the profiler by default. Enable the profiler at startup with --observe, … (Closed)

Created:
3 years, 4 months ago by rmacnak
Modified:
3 years, 4 months ago
Reviewers:
bkonyi
CC:
reviews_dartlang.org, turnidge, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Reapply "[vm] Don't enable the profiler by default. Enable the profiler at startup with --observe, or later through Observatory." Ensure we still start NativeSymbolResolver even if the profiler is off, since it is also used name weak handler finalizer functions and to produce stack traces for crashes. R=bkonyi@google.com Committed: https://github.com/dart-lang/sdk/commit/f8e47a9e26c9ee44f431ed20d4507d98acbc257d

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : native symbol resolver #

Unified diffs Side-by-side diffs Delta from patch set Stats (+178 lines, -96 lines) Patch
M runtime/bin/main.cc View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/observatory/lib/src/elements/class_allocation_profile.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/observatory/lib/src/elements/cpu_profile.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/observatory/lib/src/elements/cpu_profile/virtual_tree.dart View 1 chunk +8 lines, -1 line 0 comments Download
M runtime/observatory/lib/src/elements/cpu_profile_table.dart View 1 chunk +1 line, -1 line 0 comments Download
M runtime/observatory/lib/src/elements/native_memory_profiler.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/observatory/lib/src/elements/sample_buffer_control.dart View 5 chunks +18 lines, -4 lines 0 comments Download
M runtime/observatory/lib/src/models/objects/vm.dart View 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/observatory/lib/src/service/object.dart View 1 chunk +4 lines, -0 lines 0 comments Download
M runtime/observatory/tests/observatory_ui/mocks/objects/vm.dart View 1 chunk +4 lines, -0 lines 0 comments Download
M runtime/observatory/tests/observatory_ui/sample_buffer_control/element_test.dart View 10 chunks +11 lines, -9 lines 0 comments Download
M runtime/observatory/tests/service/service.status View 1 chunk +0 lines, -2 lines 0 comments Download
M runtime/observatory/tests/service/test_helper.dart View 2 chunks +2 lines, -0 lines 0 comments Download
M runtime/vm/dart.cc View 1 2 chunks +10 lines, -11 lines 0 comments Download
M runtime/vm/flag_list.h View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/flow_graph_compiler.cc View 1 chunk +5 lines, -1 line 0 comments Download
M runtime/vm/malloc_hooks_test.cc View 8 chunks +43 lines, -54 lines 0 comments Download
M runtime/vm/profiler.cc View 1 2 chunks +1 line, -2 lines 0 comments Download
M runtime/vm/profiler_test.cc View 22 chunks +31 lines, -0 lines 0 comments Download
M runtime/vm/program_visitor.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M runtime/vm/service.cc View 3 chunks +16 lines, -0 lines 0 comments Download
M runtime/vm/service_test.cc View 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
rmacnak
3 years, 4 months ago (2017-08-02 21:07:59 UTC) #2
rmacnak
ping
3 years, 4 months ago (2017-08-08 20:32:40 UTC) #3
bkonyi
Not LGTM. Here's the test failure: === Failure summary: FAILED: none-vm debug_x64 vm/cc/Service_PersistentHandles Expected: Pass ...
3 years, 4 months ago (2017-08-08 23:55:11 UTC) #4
rmacnak
On 2017/08/08 23:55:11, bkonyi wrote: > Not LGTM. Here's the test failure: > > === ...
3 years, 4 months ago (2017-08-09 01:27:00 UTC) #5
rmacnak
Adjusted the startup logic to initialize symbol lookup even if the profiler is off.
3 years, 4 months ago (2017-08-09 17:00:36 UTC) #7
bkonyi
LGTM
3 years, 4 months ago (2017-08-09 17:04:42 UTC) #8
rmacnak
3 years, 4 months ago (2017-08-09 18:21:05 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
f8e47a9e26c9ee44f431ed20d4507d98acbc257d (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698