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

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

Issue 294163005: Support ES6 weak collections in heap profiler (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/heap-snapshot-generator.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_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 "profile-generator-inl.h" 8 #include "profile-generator-inl.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 ExtractJSWeakCollectionReferences(int entry,
374 JSWeakCollection* collection);
373 void ExtractContextReferences(int entry, Context* context); 375 void ExtractContextReferences(int entry, Context* context);
374 void ExtractMapReferences(int entry, Map* map); 376 void ExtractMapReferences(int entry, Map* map);
375 void ExtractSharedFunctionInfoReferences(int entry, 377 void ExtractSharedFunctionInfoReferences(int entry,
376 SharedFunctionInfo* shared); 378 SharedFunctionInfo* shared);
377 void ExtractScriptReferences(int entry, Script* script); 379 void ExtractScriptReferences(int entry, Script* script);
378 void ExtractAccessorPairReferences(int entry, AccessorPair* accessors); 380 void ExtractAccessorPairReferences(int entry, AccessorPair* accessors);
379 void ExtractCodeCacheReferences(int entry, CodeCache* code_cache); 381 void ExtractCodeCacheReferences(int entry, CodeCache* code_cache);
380 void ExtractCodeReferences(int entry, Code* code); 382 void ExtractCodeReferences(int entry, Code* code);
381 void ExtractBoxReferences(int entry, Box* box); 383 void ExtractBoxReferences(int entry, Box* box);
382 void ExtractCellReferences(int entry, Cell* cell); 384 void ExtractCellReferences(int entry, Cell* cell);
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
614 friend class HeapSnapshotJSONSerializerEnumerator; 616 friend class HeapSnapshotJSONSerializerEnumerator;
615 friend class HeapSnapshotJSONSerializerIterator; 617 friend class HeapSnapshotJSONSerializerIterator;
616 618
617 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer); 619 DISALLOW_COPY_AND_ASSIGN(HeapSnapshotJSONSerializer);
618 }; 620 };
619 621
620 622
621 } } // namespace v8::internal 623 } } // namespace v8::internal
622 624
623 #endif // V8_HEAP_SNAPSHOT_GENERATOR_H_ 625 #endif // V8_HEAP_SNAPSHOT_GENERATOR_H_
OLDNEW
« no previous file with comments | « no previous file | src/heap-snapshot-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698