|
Fix for issue 6359 - Make snapshots platform independent.
The issue previously was that an instance size was stored a
size in bytes, similarly field offsets were stored as an offset
in bytes. This caused issues when generating the snapshot on
one platform and reading it on another platform.
The VM has been changed to store the instance size as a size in
words and the field offset as an offset in words.
Committed: https://code.google.com/p/dart/source/detail?r=15538
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+101 lines, -51 lines) |
Patch |
|
M |
vm/heap_profiler.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
vm/object.h
|
View
|
1
2
3
4
|
4 chunks |
+42 lines, -22 lines |
0 comments
|
Download
|
|
M |
vm/object.cc
|
View
|
1
2
3
4
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
vm/raw_object.h
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
vm/raw_object.cc
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
vm/raw_object_snapshot.cc
|
View
|
1
2
3
4
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
vm/snapshot.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
vm/snapshot.cc
|
View
|
1
2
3
4
|
9 chunks |
+36 lines, -9 lines |
0 comments
|
Download
|
|
M |
vm/stub_code_ia32.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
vm/stub_code_x64.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 3 (0 generated)
|