|
The gc should be able to traverse all AllocationSites for decision making. The sites are threaded into a weak list. Special problems include:
* Allocations of AllocationSites occur in generated code, so generated code needs to be able to add to the list. For now I have a special hydrogen instruction, though it would be nice to use general purpose instructions.
* The snapshot contains AllocationSites, and these need to be re-threaded into the list on deserialization.
Something nice is that the AllocationSites are only created in old space, so a special new space visitor isn't required.
BUG=
R=mstarzinger@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=15715
Total comments: 18
Total comments: 6
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+343 lines, -10 lines) |
Patch |
|
M |
src/arm/lithium-arm.h
|
View
|
1
2
3
|
2 chunks |
+18 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/arm/lithium-arm.cc
|
View
|
1
2
3
|
2 chunks |
+25 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/arm/lithium-codegen-arm.cc
|
View
|
1
2
3
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/assembler.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/assembler.cc
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/code-stubs-hydrogen.cc
|
View
|
|
1 chunk |
+6 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/heap.h
|
View
|
1
|
3 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
|
M |
src/heap.cc
|
View
|
1
|
5 chunks |
+42 lines, -1 line |
0 comments
|
Download
|
|
M |
src/hydrogen-instructions.h
|
View
|
1
2
3
4
|
3 chunks |
+37 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/hydrogen-instructions.cc
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/ia32/lithium-codegen-ia32.cc
|
View
|
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/ia32/lithium-ia32.h
|
View
|
|
2 chunks |
+20 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/ia32/lithium-ia32.cc
|
View
|
1
2
3
|
2 chunks |
+26 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/objects.h
|
View
|
1
2
|
2 chunks |
+9 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/objects.cc
|
View
|
1
2
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
|
M |
src/objects-inl.h
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/objects-printer.cc
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/objects-visiting.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/objects-visiting.cc
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/objects-visiting-inl.h
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/serialize.h
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/serialize.cc
|
View
|
1
2
|
5 chunks |
+33 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/x64/lithium-codegen-x64.cc
|
View
|
1
2
3
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/x64/lithium-x64.h
|
View
|
1
2
3
|
2 chunks |
+18 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/x64/lithium-x64.cc
|
View
|
1
2
3
|
2 chunks |
+25 lines, -0 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|