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

Issue 1660063002: Remove many features when building product mode (Closed)

Created:
4 years, 10 months ago by Cutch
Modified:
4 years, 10 months ago
Reviewers:
rmacnak, Ivan Posva
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 many features when building product mode Move all JSON printing code from object.cc to object_service.cc. Not compiled in: - Service protocol - Debugger - Debugger API - JSONStream - ObjectIdRing - Profiler service - Object JSON printing Size of dart_bootstrap before: 5670365 bytes Size of dart_bootstrap after: 5287631 bytes Reduction in size: 382734 bytes. R=rmacnak@google.com Committed: https://github.com/dart-lang/sdk/commit/d295b9c31182cd795c1349b9e18f5c9f9a3d9f9c

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 11

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2009 lines, -1648 lines) Patch
M runtime/lib/developer.cc View 1 2 5 chunks +17 lines, -2 lines 0 comments Download
M runtime/lib/vmservice.cc View 1 2 3 5 chunks +25 lines, -3 lines 0 comments Download
M runtime/vm/class_table.cc View 1 2 3 chunks +9 lines, -0 lines 0 comments Download
M runtime/vm/code_generator.cc View 1 2 3 4 chunks +16 lines, -8 lines 0 comments Download
M runtime/vm/compiler.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M runtime/vm/coverage.cc View 1 2 4 chunks +12 lines, -0 lines 0 comments Download
M runtime/vm/coverage_test.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/dart.cc View 1 2 3 2 chunks +7 lines, -3 lines 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 2 3 7 chunks +22 lines, -3 lines 0 comments Download
M runtime/vm/dart_api_impl_test.cc View 1 2 6 chunks +17 lines, -0 lines 0 comments Download
M runtime/vm/dart_entry.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/debugger.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/debugger_api_impl.cc View 1 2 2 chunks +9 lines, -0 lines 0 comments Download
M runtime/vm/debugger_api_impl_test.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/debugger_test.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/disassembler.cc View 2 chunks +3 lines, -0 lines 0 comments Download
M runtime/vm/exceptions.cc View 1 2 3 1 chunk +6 lines, -4 lines 0 comments Download
M runtime/vm/flag_list.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M runtime/vm/flags.cc View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_builder.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M runtime/vm/flow_graph_compiler.cc View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M runtime/vm/gc_marker.cc View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/vm/heap.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/isolate.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/vm/isolate.cc View 1 2 3 18 chunks +50 lines, -13 lines 0 comments Download
M runtime/vm/json_stream.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/json_test.cc View 2 chunks +3 lines, -0 lines 0 comments Download
M runtime/vm/message.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/vm/metrics.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/vm/metrics_test.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/object.h View 1 2 10 chunks +32 lines, -12 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 69 chunks +8 lines, -1588 lines 0 comments Download
M runtime/vm/object_id_ring.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/object_id_ring_test.cc View 2 chunks +3 lines, -0 lines 0 comments Download
A runtime/vm/object_service.cc View 1 2 1 chunk +1602 lines, -0 lines 0 comments Download
M runtime/vm/object_test.cc View 1 2 3 3 chunks +9 lines, -0 lines 0 comments Download
M runtime/vm/pages.cc View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M runtime/vm/parser_test.cc View 2 chunks +7 lines, -2 lines 0 comments Download
M runtime/vm/port.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/vm/profiler_service.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/profiler_test.cc View 2 chunks +4 lines, -1 line 0 comments Download
M runtime/vm/report.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/vm/report_test.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/scavenger.cc View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M runtime/vm/service.cc View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M runtime/vm/service_event.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/service_test.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/snapshot_test.cc View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M runtime/vm/source_report_test.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/stub_code_arm.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M runtime/vm/stub_code_ia32.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M runtime/vm/stub_code_mips.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M runtime/vm/stub_code_x64.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M runtime/vm/tags.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/vm/timeline.cc View 1 2 11 chunks +33 lines, -0 lines 0 comments Download
M runtime/vm/timeline_test.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/trace_buffer_test.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/vm_sources.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 15 (8 generated)
Cutch
4 years, 10 months ago (2016-02-02 21:14:25 UTC) #4
Cutch
PTAL
4 years, 10 months ago (2016-02-02 22:29:29 UTC) #6
Cutch
PTAL
4 years, 10 months ago (2016-02-04 18:52:16 UTC) #10
rmacnak
Several crashes running tools/test.py -mrelease --vm-options="--support_debugger=false --support_service=false --support_coverage=false --support_timeline=false" https://chromiumcodereview.appspot.com/1660063002/diff/40001/runtime/vm/compiler.cc File runtime/vm/compiler.cc (right): https://chromiumcodereview.appspot.com/1660063002/diff/40001/runtime/vm/compiler.cc#newcode1375 runtime/vm/compiler.cc:1375: ...
4 years, 10 months ago (2016-02-04 21:26:41 UTC) #11
Cutch
$ ./tools/test.py --vm-options="--support_debugger=false --support_service=false --support_coverage=false --support_timeline=false" --exclude-suite=pkg,service Test configuration: none_vm_debug_x64 [05:10 | 100% | +13407 ...
4 years, 10 months ago (2016-02-04 22:12:52 UTC) #12
rmacnak
lgtm
4 years, 10 months ago (2016-02-05 17:45:05 UTC) #13
Cutch
4 years, 10 months ago (2016-02-05 17:55:57 UTC) #15
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
d295b9c31182cd795c1349b9e18f5c9f9a3d9f9c (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698