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

Issue 1182103003: Assert typed data is external iff actually not in heap. (Closed)

Created:
5 years, 6 months ago by koda
Modified:
5 years, 6 months ago
Reviewers:
Florian Schneider, siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org, Florian Schneider
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 3

Patch Set 2 : Assert in ExternalTypedData::SetData and External*String::SetExternalData #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -0 lines) Patch
M runtime/vm/dart_api_impl.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/object.h View 1 3 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
koda
https://codereview.chromium.org/1182103003/diff/1/runtime/vm/dart_api_impl.cc File runtime/vm/dart_api_impl.cc (right): https://codereview.chromium.org/1182103003/diff/1/runtime/vm/dart_api_impl.cc#newcode3634 runtime/vm/dart_api_impl.cc:3634: if (external) { This could be written as a ...
5 years, 6 months ago (2015-06-12 18:03:20 UTC) #2
siva
lgtm https://codereview.chromium.org/1182103003/diff/1/runtime/vm/dart_api_impl.cc File runtime/vm/dart_api_impl.cc (right): https://codereview.chromium.org/1182103003/diff/1/runtime/vm/dart_api_impl.cc#newcode3634 runtime/vm/dart_api_impl.cc:3634: if (external) { On 2015/06/12 18:03:20, koda wrote: ...
5 years, 6 months ago (2015-06-12 23:10:16 UTC) #3
koda
https://codereview.chromium.org/1182103003/diff/1/runtime/vm/dart_api_impl.cc File runtime/vm/dart_api_impl.cc (right): https://codereview.chromium.org/1182103003/diff/1/runtime/vm/dart_api_impl.cc#newcode3634 runtime/vm/dart_api_impl.cc:3634: if (external) { On 2015/06/12 23:10:15, siva wrote: > ...
5 years, 6 months ago (2015-06-12 23:23:29 UTC) #4
koda
Updated with additional, earlier checks. With a very large heap, this could slow down debug ...
5 years, 6 months ago (2015-06-13 00:51:51 UTC) #5
Florian Schneider
lgtm
5 years, 6 months ago (2015-06-16 09:23:49 UTC) #7
koda
5 years, 6 months ago (2015-06-16 12:32:34 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
24c51b4eea683265712c6617de91ff1c77bec8ee (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698