Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(630)

Side by Side Diff: src/profiler/heap-snapshot-generator.h

Issue 2204873003: Add WeakCell support to heap profiler. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 void ExtractContextReferences(int entry, Context* context); 378 void ExtractContextReferences(int entry, Context* context);
379 void ExtractMapReferences(int entry, Map* map); 379 void ExtractMapReferences(int entry, Map* map);
380 void ExtractSharedFunctionInfoReferences(int entry, 380 void ExtractSharedFunctionInfoReferences(int entry,
381 SharedFunctionInfo* shared); 381 SharedFunctionInfo* shared);
382 void ExtractScriptReferences(int entry, Script* script); 382 void ExtractScriptReferences(int entry, Script* script);
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 ExtractCodeReferences(int entry, Code* code); 385 void ExtractCodeReferences(int entry, Code* code);
386 void ExtractBoxReferences(int entry, Box* box); 386 void ExtractBoxReferences(int entry, Box* box);
387 void ExtractCellReferences(int entry, Cell* cell); 387 void ExtractCellReferences(int entry, Cell* cell);
388 void ExtractWeakCellReferences(int entry, WeakCell* weak_cell);
388 void ExtractPropertyCellReferences(int entry, PropertyCell* cell); 389 void ExtractPropertyCellReferences(int entry, PropertyCell* cell);
389 void ExtractAllocationSiteReferences(int entry, AllocationSite* site); 390 void ExtractAllocationSiteReferences(int entry, AllocationSite* site);
390 void ExtractJSArrayBufferReferences(int entry, JSArrayBuffer* buffer); 391 void ExtractJSArrayBufferReferences(int entry, JSArrayBuffer* buffer);
391 void ExtractFixedArrayReferences(int entry, FixedArray* array); 392 void ExtractFixedArrayReferences(int entry, FixedArray* array);
392 void ExtractPropertyReferences(JSObject* js_obj, int entry); 393 void ExtractPropertyReferences(JSObject* js_obj, int entry);
393 void ExtractAccessorPairProperty(JSObject* js_obj, int entry, Name* key, 394 void ExtractAccessorPairProperty(JSObject* js_obj, int entry, Name* key,
394 Object* callback_obj, int field_offset = -1); 395 Object* callback_obj, int field_offset = -1);
395 void ExtractElementReferences(JSObject* js_obj, int entry); 396 void ExtractElementReferences(JSObject* js_obj, int entry);
396 void ExtractInternalReferences(JSObject* js_obj, int entry); 397 void ExtractInternalReferences(JSObject* js_obj, int entry);
397 398
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
618 friend class HeapSnapshotJSONSerializerIterator; 619 friend class HeapSnapshotJSONSerializerIterator;
619 620
620 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer); 621 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer);
621 }; 622 };
622 623
623 624
624 } // namespace internal 625 } // namespace internal
625 } // namespace v8 626 } // namespace v8
626 627
627 #endif // V8_PROFILER_HEAP_SNAPSHOT_GENERATOR_H_ 628 #endif // V8_PROFILER_HEAP_SNAPSHOT_GENERATOR_H_
OLDNEW
« no previous file with comments | « no previous file | src/profiler/heap-snapshot-generator.cc » ('j') | src/profiler/heap-snapshot-generator.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698