| 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/profile-generator-inl.h" | 8 #include "src/profile-generator-inl.h" |
| 9 | 9 |
| 10 namespace v8 { | 10 namespace v8 { |
| (...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 363 | 363 |
| 364 template<V8HeapExplorer::ExtractReferencesMethod extractor> | 364 template<V8HeapExplorer::ExtractReferencesMethod extractor> |
| 365 bool IterateAndExtractSinglePass(); | 365 bool IterateAndExtractSinglePass(); |
| 366 | 366 |
| 367 bool ExtractReferencesPass1(int entry, HeapObject* obj); | 367 bool ExtractReferencesPass1(int entry, HeapObject* obj); |
| 368 bool ExtractReferencesPass2(int entry, HeapObject* obj); | 368 bool ExtractReferencesPass2(int entry, HeapObject* obj); |
| 369 void ExtractJSGlobalProxyReferences(int entry, JSGlobalProxy* proxy); | 369 void ExtractJSGlobalProxyReferences(int entry, JSGlobalProxy* proxy); |
| 370 void ExtractJSObjectReferences(int entry, JSObject* js_obj); | 370 void ExtractJSObjectReferences(int entry, JSObject* js_obj); |
| 371 void ExtractStringReferences(int entry, String* obj); | 371 void ExtractStringReferences(int entry, String* obj); |
| 372 void ExtractSymbolReferences(int entry, Symbol* symbol); | 372 void ExtractSymbolReferences(int entry, Symbol* symbol); |
| 373 void ExtractJSCollectionReferences(int entry, JSCollection* collection); |
| 373 void ExtractJSWeakCollectionReferences(int entry, | 374 void ExtractJSWeakCollectionReferences(int entry, |
| 374 JSWeakCollection* collection); | 375 JSWeakCollection* collection); |
| 375 void ExtractContextReferences(int entry, Context* context); | 376 void ExtractContextReferences(int entry, Context* context); |
| 376 void ExtractMapReferences(int entry, Map* map); | 377 void ExtractMapReferences(int entry, Map* map); |
| 377 void ExtractSharedFunctionInfoReferences(int entry, | 378 void ExtractSharedFunctionInfoReferences(int entry, |
| 378 SharedFunctionInfo* shared); | 379 SharedFunctionInfo* shared); |
| 379 void ExtractScriptReferences(int entry, Script* script); | 380 void ExtractScriptReferences(int entry, Script* script); |
| 380 void ExtractAccessorPairReferences(int entry, AccessorPair* accessors); | 381 void ExtractAccessorPairReferences(int entry, AccessorPair* accessors); |
| 381 void ExtractCodeCacheReferences(int entry, CodeCache* code_cache); | 382 void ExtractCodeCacheReferences(int entry, CodeCache* code_cache); |
| 382 void ExtractCodeReferences(int entry, Code* code); | 383 void ExtractCodeReferences(int entry, Code* code); |
| (...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 616 friend class HeapSnapshotJSONSerializerEnumerator; | 617 friend class HeapSnapshotJSONSerializerEnumerator; |
| 617 friend class HeapSnapshotJSONSerializerIterator; | 618 friend class HeapSnapshotJSONSerializerIterator; |
| 618 | 619 |
| 619 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer); | 620 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer); |
| 620 }; | 621 }; |
| 621 | 622 |
| 622 | 623 |
| 623 } } // namespace v8::internal | 624 } } // namespace v8::internal |
| 624 | 625 |
| 625 #endif // V8_HEAP_SNAPSHOT_GENERATOR_H_ | 626 #endif // V8_HEAP_SNAPSHOT_GENERATOR_H_ |
| OLD | NEW |