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

Issue 2275803002: Assign external sizes to external strings and to external typed data created by the VM. (Closed)

Created:
4 years, 3 months ago by rmacnak
Modified:
4 years, 3 months ago
Reviewers:
siva
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

Assign external sizes to external strings and to external typed data created by the VM. Observatory used to report that dart2js hello was using no external memory, but now reports 1.3MB of external memory (all token streams). R=asiva@google.com Committed: https://github.com/dart-lang/sdk/commit/3aa65a66d26069da31435c188c7fd15a2e5aaa8a

Patch Set 1 #

Patch Set 2 : Assign external sizes to external strings and typed data. #

Patch Set 3 : . #

Total comments: 8

Patch Set 4 : review #

Patch Set 5 : sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -31 lines) Patch
M runtime/include/dart_api.h View 1 2 3 4 2 chunks +8 lines, -6 lines 0 comments Download
M runtime/vm/clustered_snapshot.cc View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 2 3 4 3 chunks +9 lines, -8 lines 0 comments Download
M runtime/vm/object.h View 1 2 3 4 chunks +6 lines, -2 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 11 chunks +22 lines, -14 lines 0 comments Download
M runtime/vm/raw_object_snapshot.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 10 (5 generated)
rmacnak
4 years, 3 months ago (2016-08-26 23:32:57 UTC) #5
siva
LGTM with some comments. https://codereview.chromium.org/2275803002/diff/40001/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/2275803002/diff/40001/runtime/vm/object.cc#newcode8510 runtime/vm/object.cc:8510: stream.AddFinalizer(data.GetStream(), DataFinalizer, external_size); In this ...
4 years, 3 months ago (2016-08-29 23:03:46 UTC) #6
rmacnak
PTAL https://codereview.chromium.org/2275803002/diff/40001/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/2275803002/diff/40001/runtime/vm/object.cc#newcode8510 runtime/vm/object.cc:8510: stream.AddFinalizer(data.GetStream(), DataFinalizer, external_size); On 2016/08/29 23:03:45, siva wrote: ...
4 years, 3 months ago (2016-08-30 20:49:17 UTC) #7
siva
lgtm
4 years, 3 months ago (2016-09-01 00:12:58 UTC) #8
rmacnak
4 years, 3 months ago (2016-09-01 17:56:46 UTC) #10
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
3aa65a66d26069da31435c188c7fd15a2e5aaa8a (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698