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

Issue 1808553002: Precompilation: don't include an object header for instructions in the text section. (Closed)

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

Description

Precompilation: don't include an object header for instructions in the text section. Reference Instructions only through Code::entry_point_ (or Function::entry_point_). Store the instructions size in its corresponding Code object. precompiled dart2js x64 22163470 -> 21621102 (-2.45%) R=fschneider@google.com Committed: https://github.com/dart-lang/sdk/commit/b2f3e8efe1f32bacad99ddbedbc434a6102d8be2

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : sync #

Patch Set 9 : union #

Total comments: 6

Patch Set 10 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+189 lines, -172 lines) Patch
M runtime/vm/dart.cc View 1 2 3 4 5 6 1 chunk +1 line, -3 lines 0 comments Download
M runtime/vm/isolate.h View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
M runtime/vm/isolate.cc View 1 2 3 4 5 6 1 chunk +0 lines, -17 lines 0 comments Download
M runtime/vm/object.h View 1 2 3 4 5 6 7 4 chunks +11 lines, -16 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 4 5 6 7 8 5 chunks +28 lines, -4 lines 0 comments Download
M runtime/vm/raw_object.h View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -3 lines 0 comments Download
M runtime/vm/raw_object.cc View 1 2 3 4 5 6 7 2 chunks +10 lines, -1 line 0 comments Download
M runtime/vm/raw_object_snapshot.cc View 1 2 3 4 5 6 7 8 9 5 chunks +91 lines, -50 lines 0 comments Download
M runtime/vm/snapshot.h View 1 2 3 4 5 6 7 8 9 6 chunks +12 lines, -22 lines 0 comments Download
M runtime/vm/snapshot.cc View 1 2 3 4 5 6 7 8 9 4 chunks +27 lines, -52 lines 0 comments Download
M runtime/vm/stack_frame.cc View 1 2 3 4 5 6 7 8 9 3 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (5 generated)
rmacnak
4 years, 9 months ago (2016-03-24 00:05:40 UTC) #5
Florian Schneider
lgtm https://codereview.chromium.org/1808553002/diff/160001/runtime/vm/raw_object_snapshot.cc File runtime/vm/raw_object_snapshot.cc (right): https://codereview.chromium.org/1808553002/diff/160001/runtime/vm/raw_object_snapshot.cc#newcode1386 runtime/vm/raw_object_snapshot.cc:1386: (*reader->ObjectPoolHandle()) ^= reader->ReadObjectImpl(kAsReference); Also use PassiveObjectHandle for consistency ...
4 years, 8 months ago (2016-03-28 22:15:47 UTC) #6
rmacnak
https://codereview.chromium.org/1808553002/diff/160001/runtime/vm/raw_object_snapshot.cc File runtime/vm/raw_object_snapshot.cc (right): https://codereview.chromium.org/1808553002/diff/160001/runtime/vm/raw_object_snapshot.cc#newcode1386 runtime/vm/raw_object_snapshot.cc:1386: (*reader->ObjectPoolHandle()) ^= reader->ReadObjectImpl(kAsReference); On 2016/03/28 22:15:47, Florian Schneider wrote: ...
4 years, 8 months ago (2016-03-28 23:56:45 UTC) #7
rmacnak
4 years, 8 months ago (2016-03-29 18:04:09 UTC) #9
Message was sent while issue was closed.
Committed patchset #10 (id:180001) manually as
b2f3e8efe1f32bacad99ddbedbc434a6102d8be2 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698