| 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 "src/strings-storage.h" | 8 #include "src/strings-storage.h" |
| 9 | 9 |
| 10 namespace v8 { | 10 namespace v8 { |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 kString = v8::HeapGraphNode::kString, | 75 kString = v8::HeapGraphNode::kString, |
| 76 kObject = v8::HeapGraphNode::kObject, | 76 kObject = v8::HeapGraphNode::kObject, |
| 77 kCode = v8::HeapGraphNode::kCode, | 77 kCode = v8::HeapGraphNode::kCode, |
| 78 kClosure = v8::HeapGraphNode::kClosure, | 78 kClosure = v8::HeapGraphNode::kClosure, |
| 79 kRegExp = v8::HeapGraphNode::kRegExp, | 79 kRegExp = v8::HeapGraphNode::kRegExp, |
| 80 kHeapNumber = v8::HeapGraphNode::kHeapNumber, | 80 kHeapNumber = v8::HeapGraphNode::kHeapNumber, |
| 81 kNative = v8::HeapGraphNode::kNative, | 81 kNative = v8::HeapGraphNode::kNative, |
| 82 kSynthetic = v8::HeapGraphNode::kSynthetic, | 82 kSynthetic = v8::HeapGraphNode::kSynthetic, |
| 83 kConsString = v8::HeapGraphNode::kConsString, | 83 kConsString = v8::HeapGraphNode::kConsString, |
| 84 kSlicedString = v8::HeapGraphNode::kSlicedString, | 84 kSlicedString = v8::HeapGraphNode::kSlicedString, |
| 85 kSymbol = v8::HeapGraphNode::kSymbol | 85 kSymbol = v8::HeapGraphNode::kSymbol, |
| 86 kSimdValue = v8::HeapGraphNode::kSimdValue |
| 86 }; | 87 }; |
| 87 static const int kNoEntry; | 88 static const int kNoEntry; |
| 88 | 89 |
| 89 HeapEntry() { } | 90 HeapEntry() { } |
| 90 HeapEntry(HeapSnapshot* snapshot, | 91 HeapEntry(HeapSnapshot* snapshot, |
| 91 Type type, | 92 Type type, |
| 92 const char* name, | 93 const char* name, |
| 93 SnapshotObjectId id, | 94 SnapshotObjectId id, |
| 94 size_t self_size, | 95 size_t self_size, |
| 95 unsigned trace_node_id); | 96 unsigned trace_node_id); |
| (...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 606 friend class HeapSnapshotJSONSerializerEnumerator; | 607 friend class HeapSnapshotJSONSerializerEnumerator; |
| 607 friend class HeapSnapshotJSONSerializerIterator; | 608 friend class HeapSnapshotJSONSerializerIterator; |
| 608 | 609 |
| 609 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer); | 610 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer); |
| 610 }; | 611 }; |
| 611 | 612 |
| 612 | 613 |
| 613 } } // namespace v8::internal | 614 } } // namespace v8::internal |
| 614 | 615 |
| 615 #endif // V8_HEAP_SNAPSHOT_GENERATOR_H_ | 616 #endif // V8_HEAP_SNAPSHOT_GENERATOR_H_ |
| OLD | NEW |