OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_HEAP_SNAPSHOT_GENERATOR_H_ | 5 #ifndef V8_HEAP_SNAPSHOT_GENERATOR_H_ |
6 #define V8_HEAP_SNAPSHOT_GENERATOR_H_ | 6 #define V8_HEAP_SNAPSHOT_GENERATOR_H_ |
7 | 7 |
| 8 #include "include/v8-profiler.h" |
8 #include "src/base/platform/time.h" | 9 #include "src/base/platform/time.h" |
| 10 #include "src/objects.h" |
9 #include "src/strings-storage.h" | 11 #include "src/strings-storage.h" |
10 | 12 |
11 namespace v8 { | 13 namespace v8 { |
12 namespace internal { | 14 namespace internal { |
13 | 15 |
14 class AllocationTracker; | 16 class AllocationTracker; |
15 class AllocationTraceNode; | 17 class AllocationTraceNode; |
16 class HeapEntry; | 18 class HeapEntry; |
| 19 class HeapIterator; |
| 20 class HeapProfiler; |
17 class HeapSnapshot; | 21 class HeapSnapshot; |
18 class SnapshotFiller; | 22 class SnapshotFiller; |
19 | 23 |
20 class HeapGraphEdge BASE_EMBEDDED { | 24 class HeapGraphEdge BASE_EMBEDDED { |
21 public: | 25 public: |
22 enum Type { | 26 enum Type { |
23 kContextVariable = v8::HeapGraphEdge::kContextVariable, | 27 kContextVariable = v8::HeapGraphEdge::kContextVariable, |
24 kElement = v8::HeapGraphEdge::kElement, | 28 kElement = v8::HeapGraphEdge::kElement, |
25 kProperty = v8::HeapGraphEdge::kProperty, | 29 kProperty = v8::HeapGraphEdge::kProperty, |
26 kInternal = v8::HeapGraphEdge::kInternal, | 30 kInternal = v8::HeapGraphEdge::kInternal, |
(...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
608 friend class HeapSnapshotJSONSerializerEnumerator; | 612 friend class HeapSnapshotJSONSerializerEnumerator; |
609 friend class HeapSnapshotJSONSerializerIterator; | 613 friend class HeapSnapshotJSONSerializerIterator; |
610 | 614 |
611 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer); | 615 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer); |
612 }; | 616 }; |
613 | 617 |
614 | 618 |
615 } } // namespace v8::internal | 619 } } // namespace v8::internal |
616 | 620 |
617 #endif // V8_HEAP_SNAPSHOT_GENERATOR_H_ | 621 #endif // V8_HEAP_SNAPSHOT_GENERATOR_H_ |
OLD | NEW |