|
Use WeakCells in the optimized code map rather than traversing in pause.
It's expensive to walk all shared function infos during the gc atomic
pause. Instead, use WeakCells to implement this structure without
manual clearing.
Reland due to a bug when reusing entries in the optimized code map.
BUG=
Committed: https://crrev.com/e56fe8460ade6208b878bf95b3a5a1298cf4ccea
Cr-Commit-Position: refs/heads/master@{#32696}
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+226 lines, -162 lines) |
Patch |
|
M |
src/code-stubs-hydrogen.cc
|
View
|
|
2 chunks |
+14 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/contexts.h
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/deoptimizer.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/factory.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/heap/gc-tracer.h
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
src/heap/gc-tracer.cc
|
View
|
1
2
3
4
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/heap/heap.h
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/heap/heap.cc
|
View
|
1
2
3
4
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/heap/mark-compact.h
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/heap/mark-compact.cc
|
View
|
1
2
3
4
|
2 chunks |
+0 lines, -73 lines |
0 comments
|
Download
|
|
M |
src/heap/objects-visiting.h
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/heap/objects-visiting-inl.h
|
View
|
1
2
3
4
|
2 chunks |
+0 lines, -25 lines |
0 comments
|
Download
|
|
M |
src/objects.cc
|
View
|
1
2
3
4
|
9 chunks |
+87 lines, -49 lines |
0 comments
|
Download
|
|
M |
src/objects-inl.h
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
test/cctest/test-heap.cc
|
View
|
1
|
1 chunk |
+109 lines, -0 lines |
0 comments
|
Download
|
Total messages: 26 (13 generated)
|