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

Issue 10012042: Wire GrowableArray to use the internal VM object. (Closed)

Created:
8 years, 8 months ago by siva
Modified:
8 years, 8 months ago
Reviewers:
srdjan, Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Wire GrowableArray to use the internal VM object. This also fixes issue (5526318 : Make access to GrowableArray objects through the dart api more efficient) Committed: https://code.google.com/p/dart/source/detail?r=6341

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 10

Patch Set 5 : #

Patch Set 6 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+493 lines, -242 lines) Patch
A lib/growable_array.cc View 1 2 3 4 1 chunk +99 lines, -0 lines 0 comments Download
M lib/growable_array.dart View 1 2 3 4 8 chunks +66 lines, -79 lines 1 comment Download
M lib/lib_impl_sources.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M lib/literal_factory.dart View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M vm/bootstrap_natives.h View 1 2 3 4 1 chunk +7 lines, -1 line 0 comments Download
M vm/dart_api_impl.cc View 1 2 3 4 9 chunks +106 lines, -60 lines 0 comments Download
M vm/intrinsifier_ia32.cc View 1 2 3 4 6 chunks +145 lines, -35 lines 0 comments Download
M vm/object.h View 1 2 3 4 4 chunks +18 lines, -9 lines 0 comments Download
M vm/object.cc View 1 2 3 4 7 chunks +25 lines, -5 lines 0 comments Download
M vm/opt_code_generator_ia32.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M vm/opt_code_generator_ia32.cc View 1 2 3 4 8 chunks +16 lines, -50 lines 0 comments Download
M vm/raw_object.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M vm/raw_object_snapshot.cc View 1 2 3 4 1 chunk +6 lines, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
siva
8 years, 8 months ago (2012-04-06 20:49:49 UTC) #1
srdjan
LGTM https://chromiumcodereview.appspot.com/10012042/diff/4006/lib/growable_array.cc File lib/growable_array.cc (right): https://chromiumcodereview.appspot.com/10012042/diff/4006/lib/growable_array.cc#newcode23 lib/growable_array.cc:23: args.Add(&data); Should this be data.Length() (as smi) ? ...
8 years, 8 months ago (2012-04-06 21:19:51 UTC) #2
siva
https://chromiumcodereview.appspot.com/10012042/diff/4006/lib/growable_array.cc File lib/growable_array.cc (right): https://chromiumcodereview.appspot.com/10012042/diff/4006/lib/growable_array.cc#newcode23 lib/growable_array.cc:23: args.Add(&data); On 2012/04/06 21:19:51, srdjan wrote: > Should this ...
8 years, 8 months ago (2012-04-09 20:57:24 UTC) #3
Ivan Posva
8 years, 8 months ago (2012-04-12 14:52:26 UTC) #4
https://chromiumcodereview.appspot.com/10012042/diff/14001/lib/growable_array...
File lib/growable_array.dart (right):

https://chromiumcodereview.appspot.com/10012042/diff/14001/lib/growable_array...
lib/growable_array.dart:112: void set data(ObjectArray<T> array) native
"GrowableObjectArray_setData";
Shouldn't this be a private method? As far as I understand this slams the native
backing store directly.

Powered by Google App Engine
This is Rietveld 408576698