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

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

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

Description

Revert "[vm] Don't enable the profiler by default. Enable the profiler at startup with --observe, or later through Observatory." This reverts commit cc08f2ddd87d7a5c692b48b2e8dd629addf4d827. R=whesse@google.com Committed: https://github.com/dart-lang/sdk/commit/eddc456f296d626ef2b52e16fa80cbc827f7bfd1

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -182 lines) Patch
M runtime/bin/main.cc View 1 chunk +0 lines, -1 line 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 +1 line, -8 lines 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 +4 lines, -18 lines 0 comments Download
M runtime/observatory/lib/src/models/objects/vm.dart View 1 chunk +0 lines, -3 lines 0 comments Download
M runtime/observatory/lib/src/service/object.dart View 1 chunk +0 lines, -4 lines 0 comments Download
M runtime/observatory/tests/observatory_ui/mocks/objects/vm.dart View 1 chunk +0 lines, -4 lines 0 comments Download
M runtime/observatory/tests/observatory_ui/sample_buffer_control/element_test.dart View 10 chunks +9 lines, -11 lines 0 comments Download
M runtime/observatory/tests/service/service.status View 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/observatory/tests/service/test_helper.dart View 2 chunks +0 lines, -2 lines 0 comments Download
M runtime/vm/dart.cc View 2 chunks +11 lines, -7 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 +1 line, -5 lines 0 comments Download
M runtime/vm/malloc_hooks_test.cc View 8 chunks +54 lines, -43 lines 0 comments Download
M runtime/vm/profiler.cc View 2 chunks +0 lines, -8 lines 0 comments Download
M runtime/vm/profiler_test.cc View 22 chunks +0 lines, -31 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 +0 lines, -16 lines 0 comments Download
M runtime/vm/service_test.cc View 2 chunks +0 lines, -9 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
Dmitry Stefantsov
3 years, 4 months ago (2017-08-02 09:11:06 UTC) #2
Bill Hesse
lgtm
3 years, 4 months ago (2017-08-02 09:29:33 UTC) #3
Dmitry Stefantsov
Committed patchset #1 (id:1) manually as eddc456f296d626ef2b52e16fa80cbc827f7bfd1 (presubmit successful).
3 years, 4 months ago (2017-08-02 09:30:27 UTC) #5
rmacnak
3 years, 4 months ago (2017-08-02 18:01:26 UTC) #6
Message was sent while issue was closed.
On 2017/08/02 09:30:27, Dmitry Stefantsov wrote:
> Committed patchset #1 (id:1) manually as
> eddc456f296d626ef2b52e16fa80cbc827f7bfd1 (presubmit successful).

For posterity, the failure was

FAILED: none-vm debug_x64 vm/cc/Service_PersistentHandles
Expected: Pass 
Actual: Crash
CommandOutput[run_vm_unittest]:

stdout:
Running test: Service_PersistentHandles


stderr:
e:\b\build\slave\vm-win-debug-x64-be\build\sdk\runtime\vm\lockers.h: 50: error:
expected: mutex != NULL
Dumping native stack trace for thread 1a64
e:\b\build\slave\vm-win-debug-x64-be\build\sdk\runtime\vm\lockers.h: 50: error:
expected: mutex != NULL
Aborting re-entrant request for stack trace.


Command[run_vm_unittest]: set DART_CONFIGURATION=DebugX64 &
out\DebugX64\run_vm_tests --ignore-unrecognized-flags Service_PersistentHandles
Took 0:00:00.069007

Short reproduction command (experimental):
    python tools/test.py vm/cc/Service_PersistentHandles



===
=== 1 test failed
===

Powered by Google App Engine
This is Rietveld 408576698