| 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_PROFILER_HEAP_SNAPSHOT_GENERATOR_H_ | 5 #ifndef V8_PROFILER_HEAP_SNAPSHOT_GENERATOR_H_ |
| 6 #define V8_PROFILER_HEAP_SNAPSHOT_GENERATOR_H_ | 6 #define V8_PROFILER_HEAP_SNAPSHOT_GENERATOR_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <unordered_map> | 9 #include <unordered_map> |
| 10 | 10 |
| (...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 370 | 370 |
| 371 bool ExtractReferencesPass1(int entry, HeapObject* obj); | 371 bool ExtractReferencesPass1(int entry, HeapObject* obj); |
| 372 bool ExtractReferencesPass2(int entry, HeapObject* obj); | 372 bool ExtractReferencesPass2(int entry, HeapObject* obj); |
| 373 void ExtractJSGlobalProxyReferences(int entry, JSGlobalProxy* proxy); | 373 void ExtractJSGlobalProxyReferences(int entry, JSGlobalProxy* proxy); |
| 374 void ExtractJSObjectReferences(int entry, JSObject* js_obj); | 374 void ExtractJSObjectReferences(int entry, JSObject* js_obj); |
| 375 void ExtractStringReferences(int entry, String* obj); | 375 void ExtractStringReferences(int entry, String* obj); |
| 376 void ExtractSymbolReferences(int entry, Symbol* symbol); | 376 void ExtractSymbolReferences(int entry, Symbol* symbol); |
| 377 void ExtractJSCollectionReferences(int entry, JSCollection* collection); | 377 void ExtractJSCollectionReferences(int entry, JSCollection* collection); |
| 378 void ExtractJSWeakCollectionReferences(int entry, | 378 void ExtractJSWeakCollectionReferences(int entry, |
| 379 JSWeakCollection* collection); | 379 JSWeakCollection* collection); |
| 380 void ExtractJSWeakRefReferences(int entry, |
| 381 JSWeakRef* ref); |
| 380 void ExtractContextReferences(int entry, Context* context); | 382 void ExtractContextReferences(int entry, Context* context); |
| 381 void ExtractMapReferences(int entry, Map* map); | 383 void ExtractMapReferences(int entry, Map* map); |
| 382 void ExtractSharedFunctionInfoReferences(int entry, | 384 void ExtractSharedFunctionInfoReferences(int entry, |
| 383 SharedFunctionInfo* shared); | 385 SharedFunctionInfo* shared); |
| 384 void ExtractScriptReferences(int entry, Script* script); | 386 void ExtractScriptReferences(int entry, Script* script); |
| 385 void ExtractAccessorInfoReferences(int entry, AccessorInfo* accessor_info); | 387 void ExtractAccessorInfoReferences(int entry, AccessorInfo* accessor_info); |
| 386 void ExtractAccessorPairReferences(int entry, AccessorPair* accessors); | 388 void ExtractAccessorPairReferences(int entry, AccessorPair* accessors); |
| 387 void ExtractCodeReferences(int entry, Code* code); | 389 void ExtractCodeReferences(int entry, Code* code); |
| 388 void ExtractCellReferences(int entry, Cell* cell); | 390 void ExtractCellReferences(int entry, Cell* cell); |
| 389 void ExtractWeakCellReferences(int entry, WeakCell* weak_cell); | 391 void ExtractWeakCellReferences(int entry, WeakCell* weak_cell); |
| (...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 622 friend class HeapSnapshotJSONSerializerIterator; | 624 friend class HeapSnapshotJSONSerializerIterator; |
| 623 | 625 |
| 624 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer); | 626 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer); |
| 625 }; | 627 }; |
| 626 | 628 |
| 627 | 629 |
| 628 } // namespace internal | 630 } // namespace internal |
| 629 } // namespace v8 | 631 } // namespace v8 |
| 630 | 632 |
| 631 #endif // V8_PROFILER_HEAP_SNAPSHOT_GENERATOR_H_ | 633 #endif // V8_PROFILER_HEAP_SNAPSHOT_GENERATOR_H_ |
| OLD | NEW |