|
Simplify and compact transitions storage
Simple transitions are now stored in a map's "transitions" field (as a WeakCell wrapping the target map); full TransitionArrays are used when that's not sufficient.
To encapsulate these storage format implementation details, functions for manipulating and querying transitions have been refactored to be static functions on the TransitionArray class, and take maps as inputs.
Committed: https://crrev.com/45fbef7f2252fce10634931cb103ccc1fc95ae6a
Cr-Commit-Position: refs/heads/master@{#27029}
Total comments: 22
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+964 lines, -985 lines) |
Patch |
|
M |
src/heap-snapshot-generator.cc
|
View
|
|
1 chunk |
+16 lines, -13 lines |
0 comments
|
Download
|
|
M |
src/heap/heap.cc
|
View
|
1
2
3
|
6 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/heap/mark-compact.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/heap/mark-compact.cc
|
View
|
1
2
3
|
8 chunks |
+44 lines, -24 lines |
0 comments
|
Download
|
|
M |
src/heap/objects-visiting-inl.h
|
View
|
|
2 chunks |
+10 lines, -17 lines |
0 comments
|
Download
|
|
M |
src/hydrogen.h
|
View
|
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/json-parser.h
|
View
|
1
2
3
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/objects.h
|
View
|
1
2
3
|
8 chunks |
+8 lines, -83 lines |
0 comments
|
Download
|
|
M |
src/objects.cc
|
View
|
1
2
3
|
27 chunks |
+95 lines, -197 lines |
0 comments
|
Download
|
|
M |
src/objects-debug.cc
|
View
|
|
3 chunks |
+19 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/objects-inl.h
|
View
|
1
2
3
|
6 chunks |
+9 lines, -170 lines |
0 comments
|
Download
|
|
M |
src/objects-printer.cc
|
View
|
|
5 chunks |
+20 lines, -16 lines |
0 comments
|
Download
|
|
M |
src/transitions.h
|
View
|
1
|
4 chunks |
+174 lines, -123 lines |
0 comments
|
Download
|
|
M |
src/transitions.cc
|
View
|
1
|
3 chunks |
+405 lines, -116 lines |
0 comments
|
Download
|
|
M |
src/transitions-inl.h
|
View
|
|
3 chunks |
+26 lines, -91 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-heap.cc
|
View
|
|
6 chunks |
+15 lines, -8 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-migrations.cc
|
View
|
|
3 chunks |
+10 lines, -8 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-transitions.cc
|
View
|
|
10 chunks |
+99 lines, -98 lines |
0 comments
|
Download
|
Total messages: 20 (8 generated)
|