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

Issue 1678203002: Remove more feature in product mode (Closed)

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

Description

Remove more feature in product mode - Remove Timeline. - Remove more vmservice code. - Remove AST printing. - Remove IL printing. - Remove profiler. - Remove thread interrupter. - Remove disassembler. - Remove Library::CheckFunctionFingerprints. - Update test status files for product mode. Size of dart_bootstrap before: 5287631 Size of dart_bootstrap after: 5112783 Reduction in size: 174848 bytes. Total reduction in size (382734 + 174848): 557582 bytes. R=rmacnak@google.com Committed: https://github.com/dart-lang/sdk/commit/e2e7af1229a02757af0b40ecd14b82b93c3f1288

Patch Set 1 #

Patch Set 2 : #

Total comments: 14

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+696 lines, -263 lines) Patch
M runtime/lib/timeline.cc View 4 chunks +12 lines, -0 lines 0 comments Download
M runtime/lib/vmservice.cc View 4 chunks +13 lines, -3 lines 0 comments Download
M runtime/observatory/tests/service/service.status View 1 1 chunk +4 lines, -0 lines 0 comments Download
M runtime/vm/ast_printer.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/ast_printer_test.cc View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/code_generator.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/compiler.cc View 1 2 3 4 5 22 chunks +54 lines, -4 lines 0 comments Download
M runtime/vm/dart.cc View 6 chunks +25 lines, -7 lines 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 2 3 4 5 10 chunks +28 lines, -3 lines 0 comments Download
M runtime/vm/debugger_arm.cc View 1 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/debugger_arm64.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/debugger_ia32.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/debugger_mips.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/debugger_x64.cc View 2 chunks +3 lines, -0 lines 0 comments Download
M runtime/vm/deopt_instructions.h View 1 1 chunk +4 lines, -1 line 0 comments Download
M runtime/vm/deopt_instructions.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/disassembler.cc View 1 2 3 4 5 4 chunks +3 lines, -3 lines 0 comments Download
M runtime/vm/disassembler_arm.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/disassembler_arm64.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/disassembler_ia32.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/disassembler_mips.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/disassembler_test.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/disassembler_x64.cc View 2 chunks +3 lines, -0 lines 0 comments Download
M runtime/vm/flag_list.h View 1 2 2 chunks +17 lines, -8 lines 0 comments Download
M runtime/vm/flow_graph_allocator.cc View 2 chunks +12 lines, -4 lines 0 comments Download
M runtime/vm/flow_graph_builder.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/flow_graph_builder_test.cc View 2 chunks +3 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_compiler.cc View 1 2 3 4 5 2 chunks +7 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_inliner.cc View 1 3 chunks +5 lines, -3 lines 0 comments Download
M runtime/vm/flow_graph_range_analysis.cc View 12 chunks +12 lines, -12 lines 0 comments Download
M runtime/vm/flow_graph_range_analysis_test.cc View 1 2 3 5 chunks +12 lines, -9 lines 0 comments Download
M runtime/vm/flow_graph_type_propagator.cc View 4 chunks +6 lines, -4 lines 0 comments Download
M runtime/vm/heap.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/il_printer.cc View 1 2 2 chunks +42 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language.h View 145 chunks +176 lines, -156 lines 0 comments Download
M runtime/vm/intrinsifier.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M runtime/vm/isolate.h View 2 chunks +9 lines, -0 lines 0 comments Download
M runtime/vm/isolate.cc View 5 chunks +22 lines, -10 lines 0 comments Download
M runtime/vm/locations.cc View 2 chunks +6 lines, -0 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 4 5 5 chunks +8 lines, -3 lines 0 comments Download
M runtime/vm/os_thread.cc View 2 chunks +5 lines, -3 lines 0 comments Download
M runtime/vm/parser.cc View 5 chunks +8 lines, -0 lines 0 comments Download
M runtime/vm/parser_test.cc View 2 chunks +8 lines, -2 lines 0 comments Download
M runtime/vm/precompiler.cc View 1 2 3 4 5 21 chunks +43 lines, -3 lines 0 comments Download
M runtime/vm/profiler.cc View 5 chunks +6 lines, -5 lines 0 comments Download
M runtime/vm/redundancy_elimination.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M runtime/vm/service_isolate.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/stub_code.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M runtime/vm/thread_interrupter.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/thread_interrupter_android.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/thread_interrupter_macos.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/thread_interrupter_win.cc View 2 chunks +3 lines, -0 lines 0 comments Download
M runtime/vm/timeline.h View 2 chunks +5 lines, -1 line 0 comments Download
M runtime/vm/timeline.cc View 7 chunks +28 lines, -0 lines 0 comments Download
M runtime/vm/timeline_analysis.cc View 2 chunks +4 lines, -0 lines 0 comments Download
A + tests/standalone/no_profiler_test.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + tests/standalone/no_support_ast_printer_test.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + tests/standalone/no_support_coverage_test.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + tests/standalone/no_support_debugger_test.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + tests/standalone/no_support_disassembler_test.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + tests/standalone/no_support_il_printer_test.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + tests/standalone/no_support_service_test.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + tests/standalone/no_support_timeline_test.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tests/standalone/standalone.status View 1 2 3 4 2 chunks +15 lines, -1 line 0 comments Download

Messages

Total messages: 10 (4 generated)
Cutch
4 years, 10 months ago (2016-02-08 21:09:36 UTC) #3
rmacnak
https://chromiumcodereview.appspot.com/1678203002/diff/20001/runtime/vm/ast_printer_test.cc File runtime/vm/ast_printer_test.cc (right): https://chromiumcodereview.appspot.com/1678203002/diff/20001/runtime/vm/ast_printer_test.cc#newcode41 runtime/vm/ast_printer_test.cc:41: #endif // !PRODUCT https://chromiumcodereview.appspot.com/1678203002/diff/20001/runtime/vm/flag_list.h File runtime/vm/flag_list.h (right): https://chromiumcodereview.appspot.com/1678203002/diff/20001/runtime/vm/flag_list.h#newcode38 runtime/vm/flag_list.h:38: ...
4 years, 10 months ago (2016-02-08 22:42:36 UTC) #5
Cutch
https://codereview.chromium.org/1678203002/diff/20001/runtime/vm/ast_printer_test.cc File runtime/vm/ast_printer_test.cc (right): https://codereview.chromium.org/1678203002/diff/20001/runtime/vm/ast_printer_test.cc#newcode41 runtime/vm/ast_printer_test.cc:41: #endif On 2016/02/08 22:42:36, rmacnak wrote: > // !PRODUCT ...
4 years, 10 months ago (2016-02-08 23:07:56 UTC) #6
rmacnak
lgtm https://chromiumcodereview.appspot.com/1678203002/diff/2/tests/standalone/no_profiler_test.dart File tests/standalone/no_profiler_test.dart (right): https://chromiumcodereview.appspot.com/1678203002/diff/2/tests/standalone/no_profiler_test.dart#newcode5 tests/standalone/no_profiler_test.dart:5: // VMOptions=--no_profiler You probably also need to skip ...
4 years, 10 months ago (2016-02-08 23:24:17 UTC) #7
Cutch
https://codereview.chromium.org/1678203002/diff/2/tests/standalone/no_profiler_test.dart File tests/standalone/no_profiler_test.dart (right): https://codereview.chromium.org/1678203002/diff/2/tests/standalone/no_profiler_test.dart#newcode5 tests/standalone/no_profiler_test.dart:5: // VMOptions=--no_profiler On 2016/02/08 23:24:17, rmacnak wrote: > You ...
4 years, 10 months ago (2016-02-08 23:30:43 UTC) #8
Cutch
4 years, 10 months ago (2016-02-09 16:45:40 UTC) #10
Message was sent while issue was closed.
Committed patchset #6 (id:80001) manually as
e2e7af1229a02757af0b40ecd14b82b93c3f1288 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698