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

Issue 1975423002: Check snapshots for feature compatibility. (Closed)

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

Check snapshots for feature compatibility. - Full snapshots must be written and read by VMs in the same mode (debug/release/product). - Snapshots with ICData must be written and read by VMs in same checked-mode state. - Snapshots with code must be written and read by VMs targeting the same architecture and ABI. Fix use-after-free of VM isolate snapshot error message. R=asiva@google.com Committed: https://github.com/dart-lang/sdk/commit/1e389236438e5ce1655d1509aaa2e4a00fef10a1

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -50 lines) Patch
M runtime/vm/dart.h View 1 2 chunks +3 lines, -1 line 0 comments Download
M runtime/vm/dart.cc View 1 6 chunks +77 lines, -25 lines 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 2 1 chunk +8 lines, -12 lines 0 comments Download
M runtime/vm/snapshot.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/snapshot.cc View 1 2 11 chunks +45 lines, -10 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
rmacnak
4 years, 7 months ago (2016-05-13 23:35:27 UTC) #2
siva
LGTM . https://chromiumcodereview.appspot.com/1975423002/diff/20001/runtime/vm/snapshot.cc File runtime/vm/snapshot.cc (right): https://chromiumcodereview.appspot.com/1975423002/diff/20001/runtime/vm/snapshot.cc#newcode759 runtime/vm/snapshot.cc:759: expected_len < buffer_len ? expected_len : buffer_len)) ...
4 years, 7 months ago (2016-05-16 16:48:00 UTC) #3
rmacnak
https://chromiumcodereview.appspot.com/1975423002/diff/20001/runtime/vm/snapshot.cc File runtime/vm/snapshot.cc (right): https://chromiumcodereview.appspot.com/1975423002/diff/20001/runtime/vm/snapshot.cc#newcode759 runtime/vm/snapshot.cc:759: expected_len < buffer_len ? expected_len : buffer_len)) { On ...
4 years, 7 months ago (2016-05-16 20:59:56 UTC) #4
rmacnak
4 years, 7 months ago (2016-05-16 21:00:14 UTC) #6
Committed patchset #2 (id:20001) manually as
1e389236438e5ce1655d1509aaa2e4a00fef10a1 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698