| 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 "include/v8-profiler.h" | 8 #include "include/v8-profiler.h" |
| 9 #include "src/base/platform/time.h" | 9 #include "src/base/platform/time.h" |
| 10 #include "src/objects.h" | 10 #include "src/objects.h" |
| (...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 383 void ExtractAccessorInfoReferences(int entry, AccessorInfo* accessor_info); | 383 void ExtractAccessorInfoReferences(int entry, AccessorInfo* accessor_info); |
| 384 void ExtractAccessorPairReferences(int entry, AccessorPair* accessors); | 384 void ExtractAccessorPairReferences(int entry, AccessorPair* accessors); |
| 385 void ExtractCodeCacheReferences(int entry, CodeCache* code_cache); | 385 void ExtractCodeCacheReferences(int entry, CodeCache* code_cache); |
| 386 void ExtractCodeReferences(int entry, Code* code); | 386 void ExtractCodeReferences(int entry, Code* code); |
| 387 void ExtractBoxReferences(int entry, Box* box); | 387 void ExtractBoxReferences(int entry, Box* box); |
| 388 void ExtractCellReferences(int entry, Cell* cell); | 388 void ExtractCellReferences(int entry, Cell* cell); |
| 389 void ExtractPropertyCellReferences(int entry, PropertyCell* cell); | 389 void ExtractPropertyCellReferences(int entry, PropertyCell* cell); |
| 390 void ExtractAllocationSiteReferences(int entry, AllocationSite* site); | 390 void ExtractAllocationSiteReferences(int entry, AllocationSite* site); |
| 391 void ExtractJSArrayBufferReferences(int entry, JSArrayBuffer* buffer); | 391 void ExtractJSArrayBufferReferences(int entry, JSArrayBuffer* buffer); |
| 392 void ExtractFixedArrayReferences(int entry, FixedArray* array); | 392 void ExtractFixedArrayReferences(int entry, FixedArray* array); |
| 393 void ExtractClosureReferences(JSObject* js_obj, int entry); |
| 393 void ExtractPropertyReferences(JSObject* js_obj, int entry); | 394 void ExtractPropertyReferences(JSObject* js_obj, int entry); |
| 394 void ExtractAccessorPairProperty(JSObject* js_obj, int entry, Name* key, | 395 void ExtractAccessorPairProperty(JSObject* js_obj, int entry, Name* key, |
| 395 Object* callback_obj, int field_offset = -1); | 396 Object* callback_obj, int field_offset = -1); |
| 396 void ExtractElementReferences(JSObject* js_obj, int entry); | 397 void ExtractElementReferences(JSObject* js_obj, int entry); |
| 397 void ExtractInternalReferences(JSObject* js_obj, int entry); | 398 void ExtractInternalReferences(JSObject* js_obj, int entry); |
| 398 | 399 |
| 399 bool IsEssentialObject(Object* object); | 400 bool IsEssentialObject(Object* object); |
| 400 void SetContextReference(HeapObject* parent_obj, | 401 void SetContextReference(HeapObject* parent_obj, |
| 401 int parent, | 402 int parent, |
| 402 String* reference_name, | 403 String* reference_name, |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 619 friend class HeapSnapshotJSONSerializerIterator; | 620 friend class HeapSnapshotJSONSerializerIterator; |
| 620 | 621 |
| 621 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer); | 622 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer); |
| 622 }; | 623 }; |
| 623 | 624 |
| 624 | 625 |
| 625 } // namespace internal | 626 } // namespace internal |
| 626 } // namespace v8 | 627 } // namespace v8 |
| 627 | 628 |
| 628 #endif // V8_PROFILER_HEAP_SNAPSHOT_GENERATOR_H_ | 629 #endif // V8_PROFILER_HEAP_SNAPSHOT_GENERATOR_H_ |
| OLD | NEW |