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

Issue 26247007: Fix snapshot generation to ensure that the snapshot does not contain (Closed)

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

Description

Fix snapshot generation to ensure that the snapshot does not contain the instance size of internal VM defined classes. These classes have non word fields and the instance_size_in_words will not be correct across different platforms. This fixes the Dartium for Android build issue (snapshot is generated on the host which is 64 bit and loaded later into a 32 bit process on Android). R=iposva@google.com, zra@google.com Committed: https://code.google.com/p/dart/source/detail?r=28391

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 4

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -5 lines) Patch
M runtime/vm/raw_object.h View 1 2 chunks +7 lines, -0 lines 0 comments Download
M runtime/vm/raw_object_snapshot.cc View 1 2 3 4 2 chunks +14 lines, -5 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
siva
7 years, 2 months ago (2013-10-08 21:35:03 UTC) #1
zra
Works on ARM Android Dartium and lgtm. Thanks for fixing this!
7 years, 2 months ago (2013-10-08 21:58:40 UTC) #2
Ivan Posva
LGTMwC -Ivan https://chromiumcodereview.appspot.com/26247007/diff/13001/runtime/vm/raw_object_snapshot.cc File runtime/vm/raw_object_snapshot.cc (right): https://chromiumcodereview.appspot.com/26247007/diff/13001/runtime/vm/raw_object_snapshot.cc#newcode68 runtime/vm/raw_object_snapshot.cc:68: cls.set_next_field_offset_in_words(reader->ReadIntptrValue()); This should be in sync with ...
7 years, 2 months ago (2013-10-08 22:33:49 UTC) #3
siva
https://chromiumcodereview.appspot.com/26247007/diff/13001/runtime/vm/raw_object_snapshot.cc File runtime/vm/raw_object_snapshot.cc (right): https://chromiumcodereview.appspot.com/26247007/diff/13001/runtime/vm/raw_object_snapshot.cc#newcode68 runtime/vm/raw_object_snapshot.cc:68: cls.set_next_field_offset_in_words(reader->ReadIntptrValue()); On 2013/10/08 22:33:49, Ivan Posva wrote: > This ...
7 years, 2 months ago (2013-10-08 22:50:39 UTC) #4
siva
7 years, 2 months ago (2013-10-08 23:10:43 UTC) #5
Message was sent while issue was closed.
Committed patchset #5 manually as r28391 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698