|
Implement a 2-pass heap verification algorithm.
The previous algorithm would visit each pointer in the heap and verify it
without regard for whether the pointer had already been visited.
The new algorithm computes the set of allocated objects and verifies each
object in the set. In a second pass, each pointer is visited and tested
for membership in the set.
BUG= 2606
Committed: https://code.google.com/p/dart/source/detail?r=9532
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+228 lines, -25 lines) |
Patch |
|
M |
runtime/vm/dart.cc
|
View
|
1
2
3
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
runtime/vm/heap.h
|
View
|
1
2
|
3 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/heap.cc
|
View
|
1
2
|
4 chunks |
+64 lines, -10 lines |
0 comments
|
Download
|
|
M |
runtime/vm/heap_profiler.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
A |
runtime/vm/object_set.h
|
View
|
1
2
|
1 chunk |
+74 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/pages.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/pages.cc
|
View
|
|
3 chunks |
+19 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/scavenger.h
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
runtime/vm/scavenger.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/verifier.h
|
View
|
|
3 chunks |
+23 lines, -2 lines |
0 comments
|
Download
|
|
M |
runtime/vm/verifier.cc
|
View
|
1
2
|
4 chunks |
+13 lines, -6 lines |
0 comments
|
Download
|
|
M |
runtime/vm/visitor.h
|
View
|
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|