|
Fix for issue 14790 - Crash when using dartium devtools
The stack frame iteration during GC was missing one slot in stub frames that
did not save the pool pointer.
- This change makes all stub frames uniform, i.e they always save/restore the pool pointer. This ensures that we will traverse all slots on the stack.
- A new constant called kFirstObjectSlotFromFp has been added which is used as the slot to start stack traversal.
(The ARM and MIPs changes will be in a different CL)
R=iposva@google.com, regis@google.com, zra@google.com
Committed: https://code.google.com/p/dart/source/detail?r=30088
Total comments: 26
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+161 lines, -121 lines) |
Patch |
|
M |
runtime/vm/assembler_x64.h
|
View
|
1
2
3
4
5
|
4 chunks |
+10 lines, -10 lines |
0 comments
|
Download
|
|
M |
runtime/vm/assembler_x64.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+17 lines, -13 lines |
0 comments
|
Download
|
|
M |
runtime/vm/assembler_x64_test.cc
|
View
|
1
2
3
4
5
|
9 chunks |
+12 lines, -15 lines |
0 comments
|
Download
|
|
M |
runtime/vm/flow_graph_compiler_x64.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/instructions_x64_test.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+12 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/vm/object_x64_test.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/stack_frame.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+21 lines, -5 lines |
0 comments
|
Download
|
|
M |
runtime/vm/stack_frame_arm.h
|
View
|
1
2
3
4
5
|
2 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/vm/stack_frame_ia32.h
|
View
|
1
2
3
4
5
|
2 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
|
M |
runtime/vm/stack_frame_mips.h
|
View
|
1
2
3
4
5
|
2 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
|
M |
runtime/vm/stack_frame_x64.h
|
View
|
1
2
3
4
5
|
2 chunks |
+9 lines, -6 lines |
0 comments
|
Download
|
|
M |
runtime/vm/stub_code_x64.cc
|
View
|
1
2
3
4
5
|
39 chunks |
+50 lines, -51 lines |
0 comments
|
Download
|
|
M |
runtime/vm/stub_code_x64_test.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|