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

Issue 2067483002: More compact snapshots. (Closed)

Created:
4 years, 6 months ago by erikcorry
Modified:
4 years, 6 months ago
Reviewers:
Søren Gjesse
CC:
dartino-code-reviews_googlegroups.com
Base URL:
git@github.com:dartino/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

More compact snapshots. Uses a variable-length encoding for the w and x parts of the snapshot byte code. Does more work at snapshot creation time to find a more optimal choice of bytecodes to encode the snapshot. Also arranges for the null, true, and false objects to be in fixed positions, relative to each other. This frees up 2 registers in the ARM interpreter, which we use for the program and the dispatch table. R=sgjesse@google.com BUG= Committed: https://github.com/dartino/sdk/commit/880b7978e511193ae8162f437dfe1b6553a05629

Patch Set 1 #

Total comments: 12

Patch Set 2 : Feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+437 lines, -186 lines) Patch
M src/vm/assembler_arm.h View 2 chunks +4 lines, -0 lines 0 comments Download
M src/vm/heap.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/vm/heap.cc View 1 chunk +11 lines, -0 lines 0 comments Download
M src/vm/interpreter_arm.cc View 26 chunks +73 lines, -57 lines 0 comments Download
M src/vm/program.h View 3 chunks +4 lines, -2 lines 0 comments Download
M src/vm/program.cc View 5 chunks +31 lines, -11 lines 0 comments Download
M src/vm/session.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/vm/snapshot.h View 2 chunks +21 lines, -9 lines 0 comments Download
M src/vm/snapshot.cc View 1 11 chunks +289 lines, -107 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
erikcorry
4 years, 6 months ago (2016-06-13 13:04:24 UTC) #1
Søren Gjesse
LGTM https://codereview.chromium.org/2067483002/diff/1/src/vm/snapshot.cc File src/vm/snapshot.cc (right): https://codereview.chromium.org/2067483002/diff/1/src/vm/snapshot.cc#newcode745 src/vm/snapshot.cc:745: // pass it keeps track of all possible ...
4 years, 6 months ago (2016-06-14 08:33:49 UTC) #3
erikcorry
https://codereview.chromium.org/2067483002/diff/1/src/vm/snapshot.cc File src/vm/snapshot.cc (right): https://codereview.chromium.org/2067483002/diff/1/src/vm/snapshot.cc#newcode745 src/vm/snapshot.cc:745: // pass it keeps track of all possible decisions ...
4 years, 6 months ago (2016-06-15 10:30:48 UTC) #4
erikcorry
4 years, 6 months ago (2016-06-15 11:49:38 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
880b7978e511193ae8162f437dfe1b6553a05629 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698