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

Issue 1151113002: Move bootstrap scripts and token streams to the VM isolate so that they become read only objects. T… (Closed)

Created:
5 years, 7 months ago by siva
Modified:
5 years, 7 months ago
Reviewers:
hausner
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

Move bootstrap scripts and token streams to the VM isolate so that they become read only objects. This reduces the per isolate heap size as follows: Before the change: Size of isolate snapshot = 780799 New space (0k of 1024k) Old space (758k of 1024k) After the change: Size of isolate snapshot = 279696 New space (0k of 1024k) Old space (602k of 1024k) BUG= R=hausner@google.com Committed: https://github.com/dart-lang/sdk/commit/5e0a3d66e54807a10c703634f9b5224a4c8f1ef4

Patch Set 1 #

Patch Set 2 : self review #

Total comments: 4

Patch Set 3 : Address code review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+144 lines, -4 lines) Patch
M runtime/vm/dart.cc View 1 chunk +0 lines, -1 line 0 comments Download
M runtime/vm/dart_api_message.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/vm/dart_api_message.cc View 1 3 chunks +57 lines, -1 line 0 comments Download
M runtime/vm/object.cc View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M runtime/vm/raw_object.h View 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/vm/snapshot.cc View 1 2 5 chunks +70 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
siva
5 years, 7 months ago (2015-05-21 19:56:28 UTC) #2
hausner
LGTM w/comment https://codereview.chromium.org/1151113002/diff/20001/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/1151113002/diff/20001/runtime/vm/object.cc#newcode610 runtime/vm/object.cc:610: cls = Class::NewExternalTypedDataClass(kExternalTypedDataUint8ArrayCid); You don't use the ...
5 years, 7 months ago (2015-05-21 20:37:13 UTC) #3
siva
https://codereview.chromium.org/1151113002/diff/20001/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/1151113002/diff/20001/runtime/vm/object.cc#newcode610 runtime/vm/object.cc:610: cls = Class::NewExternalTypedDataClass(kExternalTypedDataUint8ArrayCid); On 2015/05/21 20:37:12, hausner wrote: > ...
5 years, 7 months ago (2015-05-22 18:09:27 UTC) #4
siva
5 years, 7 months ago (2015-05-22 19:48:17 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
5e0a3d66e54807a10c703634f9b5224a4c8f1ef4 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698