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

Issue 1054393003: Compress deopt instructions in memory using variable length encoding. (Closed)

Created:
5 years, 8 months ago by Vyacheslav Egorov (Google)
Modified:
5 years, 8 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/remotes/git-svn
Visibility:
Public.

Description

Compress deopt instructions in memory using variable length encoding. Remove DeoptInfo type entirely and store compressed instructions in the TypedData. BUG= R=fschneider@google.com, iposva@google.com Committed: https://code.google.com/p/dart/source/detail?r=44966

Patch Set 1 #

Patch Set 2 : remove kSuffix deopt instruction #

Patch Set 3 : fix other architectures #

Total comments: 11

Patch Set 4 : landing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+176 lines, -357 lines) Patch
M runtime/vm/code_generator.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/compiler.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/deopt_instructions.h View 1 2 3 8 chunks +7 lines, -10 lines 0 comments Download
M runtime/vm/deopt_instructions.cc View 1 2 3 14 chunks +56 lines, -96 lines 0 comments Download
M runtime/vm/flow_graph_compiler.h View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/flow_graph_compiler.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/flow_graph_compiler_arm.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/flow_graph_compiler_arm64.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/flow_graph_compiler_ia32.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/flow_graph_compiler_mips.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/flow_graph_compiler_x64.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/growable_array.h View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M runtime/vm/object.h View 2 chunks +19 lines, -62 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 9 chunks +64 lines, -121 lines 0 comments Download
M runtime/vm/raw_object.h View 3 chunks +0 lines, -15 lines 0 comments Download
M runtime/vm/raw_object.cc View 2 chunks +0 lines, -16 lines 0 comments Download
M runtime/vm/raw_object_snapshot.cc View 1 chunk +0 lines, -16 lines 0 comments Download
M runtime/vm/service_test.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/stack_frame.h View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/stack_frame.cc View 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
Vyacheslav Egorov (Google)
Please take a look. After compiling HelloWorldHtml once with dart2js on x64 we had 1.2mb ...
5 years, 8 months ago (2015-04-07 21:29:38 UTC) #2
Ivan Posva
LGTM with some comments. -Ivan https://codereview.chromium.org/1054393003/diff/40001/runtime/vm/deopt_instructions.cc File runtime/vm/deopt_instructions.cc (left): https://codereview.chromium.org/1054393003/diff/40001/runtime/vm/deopt_instructions.cc#oldcode719 runtime/vm/deopt_instructions.cc:719: // suffix. Is this ...
5 years, 8 months ago (2015-04-08 07:12:13 UTC) #3
Florian Schneider
lgtm https://codereview.chromium.org/1054393003/diff/40001/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/1054393003/diff/40001/runtime/vm/object.cc#newcode11194 runtime/vm/object.cc:11194: const intptr_t length = unpacked->length(); Add a reverse ...
5 years, 8 months ago (2015-04-08 08:50:04 UTC) #4
Vyacheslav Egorov (Google)
Thanks. Landing. https://codereview.chromium.org/1054393003/diff/40001/runtime/vm/deopt_instructions.cc File runtime/vm/deopt_instructions.cc (left): https://codereview.chromium.org/1054393003/diff/40001/runtime/vm/deopt_instructions.cc#oldcode719 runtime/vm/deopt_instructions.cc:719: // suffix. On 2015/04/08 07:12:12, Ivan Posva ...
5 years, 8 months ago (2015-04-08 13:07:39 UTC) #5
Vyacheslav Egorov (Google)
5 years, 8 months ago (2015-04-08 13:09:00 UTC) #6
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as 44966 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698