|
Add a generic remembered set class.
This new class provides a unified interface for recording and iterating slots in store and slots buffers:
RememberedSet<OLD_TO_NEW>::Insert(page, slot);
RememberedSet<OLD_TO_OLD>::Insert(page, slot);
RememberedSet<OLD_TO_NEW>::Iterate(heap, callback);
RememberedSet<OLD_TO_OLD>::Iterate(heap, callback);
After this change the store buffer is responsible only for collecting slots from the generated code.
Subsequent CLs will remove the slots buffer.
BUG= chromium:578883
LOG=NO
Committed: https://crrev.com/4fdc19ae33cfb4c9b957585ec35f7dfb6f67177f
Cr-Commit-Position: refs/heads/master@{#34031}
Total comments: 2
Total comments: 11
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+299 lines, -263 lines) |
Patch |
|
M |
BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/heap/heap.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/heap/heap.cc
|
View
|
1
2
3
4
5
6
7
|
7 chunks |
+11 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/heap/heap-inl.h
|
View
|
1
2
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
src/heap/mark-compact.cc
|
View
|
1
2
3
4
5
6
|
5 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
|
A |
src/heap/remembered-set.h
|
View
|
1
2
3
4
5
|
1 chunk |
+143 lines, -0 lines |
0 comments
|
Download
|
|
A |
src/heap/remembered-set.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+69 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/heap/slot-set.h
|
View
|
|
4 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/heap/spaces.h
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+10 lines, -1 line |
0 comments
|
Download
|
|
M |
src/heap/spaces.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+21 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/heap/spaces-inl.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+9 lines, -15 lines |
0 comments
|
Download
|
|
M |
src/heap/store-buffer.h
|
View
|
1
2
3
|
4 chunks |
+6 lines, -43 lines |
0 comments
|
Download
|
|
M |
src/heap/store-buffer.cc
|
View
|
1
2
|
1 chunk |
+4 lines, -152 lines |
0 comments
|
Download
|
|
M |
src/heap/store-buffer-inl.h
|
View
|
1
2
|
2 chunks |
+4 lines, -27 lines |
0 comments
|
Download
|
|
M |
tools/gyp/v8.gyp
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 13 (6 generated)
|