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

Issue 14820028: Delay Class parsing until the class is actually used. (Closed)

Created:
7 years, 7 months ago by siva
Modified:
7 years, 7 months ago
Reviewers:
regis, hausner, Ivan Posva
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Delay Class parsing until the class is actually used. Prior to this change the initial heap sizes were as follows: ia32: Size of isolate snapshot = 1230921 New space (0k of 32768k) Old space (1446k of 1604k) X64: Size of isolate snapshot = 1223943 New space (0k of 32768k) Old space (2630k of 2692k) After this change the initial heap sizes are as follows: ia32: Size of isolate snapshot = 686443 New space (0k of 32768k) Old space (677k of 836k) X64: Size of isolate snapshot = 684731 New space (0k of 32768k) Old space (1220k of 1412k) R=hausner@google.com, iposva@google.com, regis@google.com Committed: https://code.google.com/p/dart/source/detail?r=23115

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 18

Patch Set 5 : #

Total comments: 12

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+504 lines, -125 lines) Patch
M runtime/vm/class_finalizer.h View 1 2 3 4 5 2 chunks +4 lines, -1 line 0 comments Download
M runtime/vm/class_finalizer.cc View 1 2 3 4 5 21 chunks +97 lines, -46 lines 0 comments Download
M runtime/vm/class_finalizer_test.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/compiler.h View 1 2 3 4 5 1 chunk +8 lines, -2 lines 0 comments Download
M runtime/vm/compiler.cc View 1 2 3 4 5 1 chunk +125 lines, -0 lines 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 2 3 4 5 2 chunks +8 lines, -0 lines 0 comments Download
M runtime/vm/intrinsifier.cc View 1 2 3 4 5 2 chunks +8 lines, -4 lines 0 comments Download
M runtime/vm/object.h View 1 2 3 4 5 7 chunks +42 lines, -6 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 4 5 24 chunks +96 lines, -8 lines 0 comments Download
M runtime/vm/object_test.cc View 1 2 3 4 5 11 chunks +32 lines, -23 lines 0 comments Download
M runtime/vm/parser.h View 1 2 3 4 5 3 chunks +8 lines, -4 lines 0 comments Download
M runtime/vm/parser.cc View 1 2 3 4 5 12 chunks +63 lines, -23 lines 0 comments Download
M runtime/vm/raw_object.h View 1 2 3 4 5 3 chunks +4 lines, -3 lines 0 comments Download
M runtime/vm/raw_object_snapshot.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/snapshot.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/stub_code.cc View 1 2 3 4 5 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
siva
7 years, 7 months ago (2013-05-21 01:19:32 UTC) #1
hausner
Some questions and comments. I would add Regis to the list of reviewers, for the ...
7 years, 7 months ago (2013-05-21 20:07:30 UTC) #2
siva
Addressed review comments. Adding Regis to the review list as suggested by Mathias for the ...
7 years, 7 months ago (2013-05-23 00:54:30 UTC) #3
hausner
LGTM but you may want to wait for Regis' verdict about class finalization.
7 years, 7 months ago (2013-05-23 04:12:24 UTC) #4
Ivan Posva
Let's discuss the work list issue in person. -Ivan https://codereview.chromium.org/14820028/diff/38001/runtime/vm/compiler.cc File runtime/vm/compiler.cc (right): https://codereview.chromium.org/14820028/diff/38001/runtime/vm/compiler.cc#newcode187 runtime/vm/compiler.cc:187: ...
7 years, 7 months ago (2013-05-23 05:10:37 UTC) #5
regis
Type finalization changes LGTM. I would try to generate a couple of snapshots specifying the ...
7 years, 7 months ago (2013-05-23 16:50:04 UTC) #6
siva
--error_on_malformed_type is always on by default when generating snapshots. Thanks for the reviews. https://codereview.chromium.org/14820028/diff/38001/runtime/vm/class_finalizer.cc File ...
7 years, 7 months ago (2013-05-23 20:19:45 UTC) #7
Ivan Posva
LGTM -ip
7 years, 7 months ago (2013-05-23 22:33:36 UTC) #8
siva
7 years, 7 months ago (2013-05-24 00:13:18 UTC) #9
Message was sent while issue was closed.
Committed patchset #6 manually as r23115 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698