|
In-place shrinking of descriptor arrays with non-live transitions.
Instead of overwriting non-live transitions with NULL_DESCRIPTORs, we remove them from the array by compacting the array (shifting live values to the left) and in-place trimming the array. If the final descriptor array contains no live values (only contained transitions which are now all cleared), we move bit_field3 back from the descriptor array to the map. The descriptor array itself will be collected in the next GC.
BUG=
TEST=
Committed: https://code.google.com/p/v8/source/detail?r=11922
Total comments: 22
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+250 lines, -143 lines) |
Patch |
|
M |
src/ast.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
src/bootstrapper.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/factory.cc
|
View
|
|
2 chunks |
+7 lines, -18 lines |
0 comments
|
Download
|
|
M |
src/ic.cc
|
View
|
1
|
5 chunks |
+6 lines, -7 lines |
1 comment
|
Download
|
|
M |
src/mark-compact.cc
|
View
|
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/objects.h
|
View
|
1
|
3 chunks |
+9 lines, -2 lines |
1 comment
|
Download
|
|
M |
src/objects.cc
|
View
|
1
|
17 chunks |
+159 lines, -86 lines |
3 comments
|
Download
|
|
M |
src/objects-debug.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
src/objects-inl.h
|
View
|
1
|
5 chunks |
+43 lines, -10 lines |
0 comments
|
Download
|
|
M |
src/objects-printer.cc
|
View
|
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
src/profile-generator.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
src/property.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
src/property.cc
|
View
|
|
2 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/property-details.h
|
View
|
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/runtime.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|