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

Issue 138033002: Make VM TypedList not implement ByteBuffer. (Closed)

Created:
6 years, 11 months ago by Lasse Reichstein Nielsen
Modified:
6 years, 6 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 1

Patch Set 2 : Add Uint8Clamped list to test. Fix typo in status file. #

Total comments: 4

Patch Set 3 : Add comment saying why Int64 test is omitted in test. #

Total comments: 5

Patch Set 4 : Change copyright year of new file. #

Total comments: 1

Patch Set 5 : Remove expando, change test. #

Total comments: 4

Patch Set 6 : Remove cast. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+231 lines, -91 lines) Patch
M runtime/lib/typed_data.dart View 1 2 3 4 5 10 chunks +47 lines, -29 lines 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/service_test.cc View 1 2 3 4 8 chunks +16 lines, -16 lines 0 comments Download
M runtime/vm/snapshot_test.cc View 1 chunk +33 lines, -33 lines 0 comments Download
M runtime/vm/symbols.h View 1 2 3 5 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/typed_data/typed_data.dart View 1 2 3 4 5 5 chunks +19 lines, -2 lines 0 comments Download
M tests/co19/co19-co19.status View 1 2 3 4 1 chunk +15 lines, -0 lines 0 comments Download
M tests/html/transferables_test.dart View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M tests/lib/lib.status View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A tests/lib/typed_data/typed_list_buffer_test.dart View 1 2 3 4 1 chunk +83 lines, -0 lines 0 comments Download
M tests/standalone/io/file_typed_data_test.dart View 6 chunks +12 lines, -6 lines 0 comments Download
M tests/standalone/typed_data_test.dart View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
Lasse Reichstein Nielsen
6 years, 11 months ago (2014-01-14 09:50:59 UTC) #1
Lasse Reichstein Nielsen
https://codereview.chromium.org/138033002/diff/1/runtime/vm/dart_api_impl.cc File runtime/vm/dart_api_impl.cc (right): https://codereview.chromium.org/138033002/diff/1/runtime/vm/dart_api_impl.cc#newcode2600 runtime/vm/dart_api_impl.cc:2600: result = GetByteDataConstructor(isolate, Symbols::ByteDataDot_view(), 3); Would it be better ...
6 years, 11 months ago (2014-01-14 11:06:46 UTC) #2
Søren Gjesse
https://codereview.chromium.org/138033002/diff/40001/runtime/lib/typed_data.dart File runtime/lib/typed_data.dart (right): https://codereview.chromium.org/138033002/diff/40001/runtime/lib/typed_data.dart#newcode622 runtime/lib/typed_data.dart:622: // have a buffer extracted. Is this just to ...
6 years, 11 months ago (2014-01-14 12:00:17 UTC) #3
Lasse Reichstein Nielsen
https://codereview.chromium.org/138033002/diff/40001/runtime/lib/typed_data.dart File runtime/lib/typed_data.dart (right): https://codereview.chromium.org/138033002/diff/40001/runtime/lib/typed_data.dart#newcode622 runtime/lib/typed_data.dart:622: // have a buffer extracted. On 2014/01/14 12:00:17, Søren ...
6 years, 11 months ago (2014-01-14 12:19:17 UTC) #4
srdjan
Are there any performance differences?
6 years, 11 months ago (2014-01-14 16:16:52 UTC) #5
Lasse Reichstein Nielsen
On 2014/01/14 16:16:52, srdjan wrote: > Are there any performance differences? I haven't checked. Will ...
6 years, 11 months ago (2014-01-14 16:25:58 UTC) #6
Cutch
On 2014/01/14 16:25:58, Lasse Reichstein Nielsen wrote: > On 2014/01/14 16:16:52, srdjan wrote: > > ...
6 years, 11 months ago (2014-01-14 21:44:28 UTC) #7
siva
https://codereview.chromium.org/138033002/diff/110001/runtime/lib/typed_data.dart File runtime/lib/typed_data.dart (right): https://codereview.chromium.org/138033002/diff/110001/runtime/lib/typed_data.dart#newcode623 runtime/lib/typed_data.dart:623: static var _buffers = new Expando(); Why does the ...
6 years, 11 months ago (2014-01-14 22:02:16 UTC) #8
sra1
On 2014/01/14 21:44:28, Cutch wrote: > On 2014/01/14 16:25:58, Lasse Reichstein Nielsen wrote: > > ...
6 years, 11 months ago (2014-01-14 22:17:38 UTC) #9
Lasse Reichstein Nielsen
Yes, the rationale for the change is that it is an long-standing open bug that ...
6 years, 11 months ago (2014-01-15 09:47:58 UTC) #10
Lasse Reichstein Nielsen
Add more review volunteers.
6 years, 11 months ago (2014-01-15 10:39:29 UTC) #11
siva
Once the use of expando to mandate that the buffers are identical is removed your ...
6 years, 11 months ago (2014-01-15 18:29:07 UTC) #12
sra1
lgtm for impact on dart2js https://codereview.chromium.org/138033002/diff/220001/tests/lib/typed_data/typed_list_buffer_test.dart File tests/lib/typed_data/typed_list_buffer_test.dart (right): https://codereview.chromium.org/138033002/diff/220001/tests/lib/typed_data/typed_list_buffer_test.dart#newcode17 tests/lib/typed_data/typed_list_buffer_test.dart:17: List constructors = [ ...
6 years, 11 months ago (2014-01-15 19:09:46 UTC) #13
Lasse Reichstein Nielsen
Committed patchset #5 manually as r31873 (presubmit successful).
6 years, 11 months ago (2014-01-16 10:19:20 UTC) #14
Ivan Posva
https://codereview.chromium.org/138033002/diff/290001/runtime/lib/typed_data.dart File runtime/lib/typed_data.dart (right): https://codereview.chromium.org/138033002/diff/290001/runtime/lib/typed_data.dart#newcode2348 runtime/lib/typed_data.dart:2348: : _typedData = (_buffer as _ByteBuffer)._typedData, Please remove this ...
6 years, 11 months ago (2014-01-16 16:07:31 UTC) #15
Lasse Reichstein Nielsen
https://codereview.chromium.org/138033002/diff/290001/runtime/lib/typed_data.dart File runtime/lib/typed_data.dart (right): https://codereview.chromium.org/138033002/diff/290001/runtime/lib/typed_data.dart#newcode2348 runtime/lib/typed_data.dart:2348: : _typedData = (_buffer as _ByteBuffer)._typedData, It's not unnecessary ...
6 years, 11 months ago (2014-01-16 18:33:30 UTC) #16
Lasse Reichstein Nielsen
And reverted because html/transferable_test fails.
6 years, 11 months ago (2014-01-16 18:34:19 UTC) #17
Lasse Reichstein Nielsen
6 years, 11 months ago (2014-01-16 20:53:03 UTC) #18
srdjan
https://codereview.chromium.org/138033002/diff/290001/runtime/lib/typed_data.dart File runtime/lib/typed_data.dart (right): https://codereview.chromium.org/138033002/diff/290001/runtime/lib/typed_data.dart#newcode2348 runtime/lib/typed_data.dart:2348: : _typedData = (_buffer as _ByteBuffer)._typedData, On 2014/01/16 18:33:30, ...
6 years, 11 months ago (2014-01-16 21:22:58 UTC) #19
Lasse Reichstein Nielsen
https://codereview.chromium.org/138033002/diff/290001/runtime/lib/typed_data.dart File runtime/lib/typed_data.dart (right): https://codereview.chromium.org/138033002/diff/290001/runtime/lib/typed_data.dart#newcode2348 runtime/lib/typed_data.dart:2348: : _typedData = (_buffer as _ByteBuffer)._typedData, On 2014/01/16 21:22:58, ...
6 years, 11 months ago (2014-01-17 10:40:00 UTC) #20
Cutch
On 2014/01/17 10:40:00, Lasse Reichstein Nielsen wrote: > https://codereview.chromium.org/138033002/diff/290001/runtime/lib/typed_data.dart > File runtime/lib/typed_data.dart (right): > > ...
6 years, 10 months ago (2014-02-06 17:27:29 UTC) #21
Lasse Reichstein Nielsen
Not abandoned. I did hit a problem and got sidetracked doing other stuff, but I ...
6 years, 10 months ago (2014-02-10 10:06:12 UTC) #22
Cutch
On 2014/02/10 10:06:12, Lasse Reichstein Nielsen wrote: > Not abandoned. I did hit a problem ...
6 years, 6 months ago (2014-06-11 20:15:24 UTC) #23
Lasse Reichstein Nielsen
On 2014/06/11 20:15:24, Cutch wrote: > Lasse, TypedList implementing ByteBuffer has been causing some confusion- ...
6 years, 6 months ago (2014-06-12 05:56:40 UTC) #24
Cutch
6 years, 6 months ago (2014-06-17 14:56:19 UTC) #25
On 2014/06/12 05:56:40, Lasse Reichstein Nielsen wrote:
> On 2014/06/11 20:15:24, Cutch wrote:
> 
> > Lasse, TypedList implementing ByteBuffer has been causing some confusion-
any
> > plan to finish this?
> 
> I've been prioritizing Isolates for a while. I should be able to look at this
> again soon.

Landed something very similar https://codereview.chromium.org/339763002.

Powered by Google App Engine
This is Rietveld 408576698