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

Issue 2517683002: Don't include usage counters, etc in snapshots with code. If we already have code, eagerly recompil… (Closed)

Created:
4 years, 1 month ago by rmacnak
Modified:
4 years ago
Reviewers:
siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Don't include usage counters, etc in snapshots with code. If we already have code, eagerly recompiling in unlikely to have new type feedback. Print snapshot sizes when generating an AOT snapshot from gen_snapshot (e.g., Flutter). Remove some unnecessary symbols. Use named constants for exit codes. Use Log::PrintErr instead of fprintf(stderr) so we see error messages in adb logcat. R=asiva@google.com Committed: https://github.com/dart-lang/sdk/commit/5ee71cae9d22cd4e48a3fbd31508b6e5a560caa0

Patch Set 1 #

Patch Set 2 : . #

Total comments: 2

Patch Set 3 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -34 lines) Patch
M runtime/bin/gen_snapshot.cc View 8 chunks +9 lines, -8 lines 0 comments Download
M runtime/bin/log_android.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M runtime/bin/log_linux.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/bin/main.cc View 1 2 4 chunks +4 lines, -8 lines 0 comments Download
M runtime/vm/clustered_snapshot.cc View 1 3 chunks +9 lines, -8 lines 0 comments Download
M runtime/vm/object.cc View 1 2 2 chunks +2 lines, -7 lines 0 comments Download
M runtime/vm/symbols.h View 1 2 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
rmacnak
4 years, 1 month ago (2016-11-18 22:31:30 UTC) #2
siva
lgtm https://codereview.chromium.org/2517683002/diff/20001/runtime/bin/main.cc File runtime/bin/main.cc (right): https://codereview.chromium.org/2517683002/diff/20001/runtime/bin/main.cc#newcode136 runtime/bin/main.cc:136: Why did you remove this fflush(stderr); ?
4 years ago (2016-11-22 05:23:53 UTC) #3
rmacnak
https://codereview.chromium.org/2517683002/diff/20001/runtime/bin/main.cc File runtime/bin/main.cc (right): https://codereview.chromium.org/2517683002/diff/20001/runtime/bin/main.cc#newcode136 runtime/bin/main.cc:136: On 2016/11/22 05:23:53, siva wrote: > Why did you ...
4 years ago (2016-11-22 17:58:45 UTC) #4
rmacnak
4 years ago (2016-11-22 17:59:11 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
5ee71cae9d22cd4e48a3fbd31508b6e5a560caa0 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698